aboutsummaryrefslogtreecommitdiff
path: root/src/site/store/config.js
blob: 6202f84515da3cc92ef9ea36fe57d8f80cc2ac5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* eslint-disable no-shadow */
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);
	}
};