From 68a71ae1bd221be544714b8ee7c716ce69506970 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 6 May 2021 20:26:21 +0000 Subject: fix(mixins): api endpoint url --- src/mixins.ts | 4 ++-- 1 file 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 { - 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 { - fetch('http://localhost/api/v1/languages', { + fetch('http://api.senpy.club/api/v1/languages', { method: 'GET', }) .then((response) => response.json()) -- cgit v1.2.3