aboutsummaryrefslogtreecommitdiff
path: root/src/site/store/config.js
blob: f52fc0fe0cf0eee4ff853e2fea429fa098eb8c3a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
export const state = () => ({
	development: true,
	version: '4.0.0',
	URL: 'http://localhost:8080',
	baseURL: 'http://localhost:8080/api',
	serviceName: '',
	maxFileSize: 100,
	chunkSize: 90,
	maxLinksPerAlbum: 5,
	publicMode: false,
	userAccounts: false,
});

export const mutations = {
	set(state, config) {
		Object.assign(state, config);
	},
};