mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-12-13 22:00:28 +05:30
Fix keys to match API.
This commit is contained in:
parent
e81140531c
commit
ec83358a44
@ -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 New Issue
Block a user