quintodrome/ui/src/config.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
349 B
JavaScript
Raw Normal View History

const defaultConfig = {
version: 'dev',
firstTime: false,
baseURL: '',
2020-04-26 10:50:44 -08:00
loginBackgroundURL: 'https://source.unsplash.com/random/1600x900?music',
}
let config
try {
const appConfig = JSON.parse(window.__APP_CONFIG__)
config = {
...defaultConfig,
2020-04-26 10:50:44 -08:00
...appConfig,
}
} catch (e) {
config = defaultConfig
}
export default config