aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-06 20:26:21 +0000
committerFuwn <[email protected]>2021-05-06 20:26:21 +0000
commit68a71ae1bd221be544714b8ee7c716ce69506970 (patch)
tree8bea94f03f23c2d57e8f737051cf4fbc5815a528
parentfeat(global): :star: (diff)
downloadfrontend-68a71ae1bd221be544714b8ee7c716ce69506970.tar.xz
frontend-68a71ae1bd221be544714b8ee7c716ce69506970.zip
fix(mixins): api endpoint url
-rw-r--r--src/mixins.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mixins.ts b/src/mixins.ts
index bea2fca..cb11bf5 100644
--- a/src/mixins.ts
+++ b/src/mixins.ts
@@ -13,7 +13,7 @@ export default class APIExtendableLanguage extends Vue {
random: any;
async fetchImages(): Promise<void> {
- fetch(`http://localhost/api/v1/language?lang=${this.language}`, {
+ fetch(`http://api.senpy.club/api/v1/language?lang=${this.language}`, {
method: 'GET',
})
.then((response) => response.json())
@@ -24,7 +24,7 @@ export default class APIExtendableLanguage extends Vue {
}
async fetchLanguages(): Promise<void> {
- fetch('http://localhost/api/v1/languages', {
+ fetch('http://api.senpy.club/api/v1/languages', {
method: 'GET',
})
.then((response) => response.json())