diff --git a/src/components/FooterComponent.vue b/src/components/FooterComponent.vue index 994e9394..a10e4133 100644 --- a/src/components/FooterComponent.vue +++ b/src/components/FooterComponent.vue @@ -36,8 +36,7 @@ export default { }, methods: { async fetchConfig() { - fetch("config.json").then(async response => { - const config = await response.json(); + this.fetchJson("confg.json").then(config => { this.donationHref = config.donation_href; this.statusPageHref = config.status_page_href; }); @@ -46,7 +45,7 @@ export default { }; -