aboutsummaryrefslogtreecommitdiff
path: root/src/site/store/config.js
blob: c17632d37f884f8b538cf818a651d8bfbf3aad68 (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);
	}
};