summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.env1
-rw-r--r--src/views/Migration.vue2
2 files changed, 2 insertions, 1 deletions
diff --git a/.env b/.env
index 44bb2a1..d1cc44c 100644
--- a/.env
+++ b/.env
@@ -1,5 +1,6 @@
VUE_APP_TITLE=The Mana World (STAGING)
VUE_APP_API=https://api.themanaworld.org/api
+VUE_APP_PYAPI=https://localhost:13370
# news file
VUE_APP_NEWS_JSON=https://themanaworld.github.io/tmwa-server-data/news.json
diff --git a/src/views/Migration.vue b/src/views/Migration.vue
index 6f82779..1eb5eac 100644
--- a/src/views/Migration.vue
+++ b/src/views/Migration.vue
@@ -168,7 +168,7 @@ export default class Recovery extends Vue {
// ${process.env.VUE_APP_API}
// https://api.tmw2.org:13370/
- const req = new Request(`http://localhost:13370/tmwa_auth`, {
+ const req = new Request(`${process.env.VUE_APP_PYAPI}/tmwa_auth`, {
method: "POST",
mode: "no-cors",
cache: "no-cache",