13 lines
414 B
JavaScript
13 lines
414 B
JavaScript
const storedFilter = localStorage.getItem('filter');
|
|
const storedBatch = localStorage.getItem('batch');
|
|
const storedSfw = localStorage.getItem('sfw');
|
|
const storedTheme = localStorage.getItem('theme');
|
|
|
|
export default {
|
|
filter: storedFilter ? storedFilter.split(',') : ['gay', 'transsexual'],
|
|
range: 'latest',
|
|
batch: storedBatch || 'all',
|
|
sfw: storedSfw === 'true' || false,
|
|
theme: storedTheme || 'light',
|
|
};
|