Make config request relative

This commit is contained in:
Oliver Traber 2022-01-16 00:09:55 +01:00
parent f4a8cdfeb5
commit 85a84acc42
Signed by: Bluemedia
GPG key ID: C7BA47275B086E2C

View file

@ -79,7 +79,7 @@ export default {
methods: { methods: {
// Get frontend config and trigger initial data fetch // Get frontend config and trigger initial data fetch
getConfig() { getConfig() {
axios.get('/config.json') axios.get('config.json')
.then(response => { .then(response => {
this.config = response.data; this.config = response.data;
// Set title if defined in config // Set title if defined in config