From ac1856894efaf4df01d157fe5bb7631e06bc11f4 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 6 May 2021 20:33:08 +0000 Subject: fix(mixins): api endpoint --- src/mixins.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mixins.ts b/src/mixins.ts index cb11bf5..f4dafb4 100644 --- a/src/mixins.ts +++ b/src/mixins.ts @@ -35,7 +35,7 @@ export default class APIExtendableLanguage extends Vue { } async fetchRandom(): Promise { - fetch('http://localhost/api/v1/random', { + fetch('http://api.senpy.club/api/v1/random', { method: 'GET', }) .then((response) => response.json()) -- cgit v1.2.3