diff --git a/public/config.json b/public/config.json deleted file mode 100644 index 7e2686e3..00000000 --- a/public/config.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "donation_href": "", - "status_page_href": "" -} diff --git a/src/components/FooterComponent.vue b/src/components/FooterComponent.vue index e357e6c7..1381c495 100644 --- a/src/components/FooterComponent.vue +++ b/src/components/FooterComponent.vue @@ -36,9 +36,9 @@ export default { }, methods: { async fetchConfig() { - this.fetchJson("confg.json").then(config => { - this.donationHref = config?.donation_href; - this.statusPageHref = config?.status_page_href; + this.fetchJson(this.apiUrl() + "/config").then(config => { + this.donationHref = config?.donationUrl; + this.statusPageHref = config?.statusPageUrl; }); }, },