apply suggested changes

This commit is contained in:
Bnyro 2022-09-10 11:09:54 +02:00 committed by Kavin
parent cc75ff1c65
commit 8899425a47
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD

View file

@ -36,8 +36,7 @@ export default {
}, },
methods: { methods: {
async fetchConfig() { async fetchConfig() {
fetch("config.json").then(async response => { this.fetchJson("confg.json").then(config => {
const config = await response.json();
this.donationHref = config.donation_href; this.donationHref = config.donation_href;
this.statusPageHref = config.status_page_href; this.statusPageHref = config.status_page_href;
}); });
@ -46,7 +45,7 @@ export default {
}; };
</script> </script>
<style scoped> <style>
footer { footer {
@apply bg-light-900; @apply bg-light-900;
} }