Fix keys to match API.

This commit is contained in:
Kavin 2022-10-02 14:54:13 +01:00
parent e81140531c
commit ec83358a44
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD
2 changed files with 3 additions and 7 deletions

View file

@ -1,4 +0,0 @@
{
"donation_href": "",
"status_page_href": ""
}

View file

@ -36,9 +36,9 @@ export default {
}, },
methods: { methods: {
async fetchConfig() { async fetchConfig() {
this.fetchJson("confg.json").then(config => { this.fetchJson(this.apiUrl() + "/config").then(config => {
this.donationHref = config?.donation_href; this.donationHref = config?.donationUrl;
this.statusPageHref = config?.status_page_href; this.statusPageHref = config?.statusPageUrl;
}); });
}, },
}, },