aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-06 20:33:08 +0000
committerFuwn <[email protected]>2021-05-06 20:33:08 +0000
commitac1856894efaf4df01d157fe5bb7631e06bc11f4 (patch)
tree570d1dc4da4ffd685399c8fbb059a5373e126067
parentMerge branch 'main' of https://github.com/senpy-club/frontend into main (diff)
downloadfrontend-ac1856894efaf4df01d157fe5bb7631e06bc11f4.tar.xz
frontend-ac1856894efaf4df01d157fe5bb7631e06bc11f4.zip
fix(mixins): api endpoint
-rw-r--r--src/mixins.ts2
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())