mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Fix keys to match API.
This commit is contained in:
parent
e81140531c
commit
ec83358a44
2 changed files with 3 additions and 7 deletions
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
"donation_href": "",
|
||||
"status_page_href": ""
|
||||
}
|
|
@ -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;
|
||||
});
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue