From 648d23e4130dff16ebd826f1b664dfbc353c2da5 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 29 Aug 2021 18:01:55 -0300 Subject: Version 1 of migration tool. (#47) Version 1 of migration tool. It really, REALLY needs to catch failures. Otherwise player may accidentally create a Vault account and become ineligible. And there is no cool and convenient tool to shut down a Vault account >.> --- .env | 1 + src/router/index.ts | 5 + src/views/Migration.vue | 356 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 362 insertions(+) create mode 100644 src/views/Migration.vue 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/router/index.ts b/src/router/index.ts index 04828e4..99267f9 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -35,6 +35,11 @@ const routes: Array = [ name: "registration", component: () => import(/* webpackChunkName: "registration" */ "../views/Registration.vue"), }, + { + path: "/migration", + name: "migration", + component: () => import(/* webpackChunkName: "migration" */ "../views/Migration.vue"), + }, { path: "/404:pathMatch(.*)", alias: "/:pathMatch(.*)", diff --git a/src/views/Migration.vue b/src/views/Migration.vue new file mode 100644 index 0000000..1eb5eac --- /dev/null +++ b/src/views/Migration.vue @@ -0,0 +1,356 @@ + + + + + -- cgit v1.2.3-60-g2f50