mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-12-14 14:20: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: {
|
methods: {
|
||||||
async fetchConfig() {
|
async fetchConfig() {
|
||||||
this.fetchJson("confg.json").then(config => {
|
this.fetchJson(this.apiUrl() + "/config").then(config => {
|
||||||
this.donationHref = config?.donation_href;
|
this.donationHref = config?.donationUrl;
|
||||||
this.statusPageHref = config?.status_page_href;
|
this.statusPageHref = config?.statusPageUrl;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user