diff options
| author | Fuwn <[email protected]> | 2021-05-06 20:33:08 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-05-06 20:33:08 +0000 |
| commit | ac1856894efaf4df01d157fe5bb7631e06bc11f4 (patch) | |
| tree | 570d1dc4da4ffd685399c8fbb059a5373e126067 | |
| parent | Merge branch 'main' of https://github.com/senpy-club/frontend into main (diff) | |
| download | frontend-ac1856894efaf4df01d157fe5bb7631e06bc11f4.tar.xz frontend-ac1856894efaf4df01d157fe5bb7631e06bc11f4.zip | |
fix(mixins): api endpoint
| -rw-r--r-- | src/mixins.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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<void> { - fetch('http://localhost/api/v1/random', { + fetch('http://api.senpy.club/api/v1/random', { method: 'GET', }) .then((response) => response.json()) |