From 8a214bccf3846019fe054591fbd61b563f0def78 Mon Sep 17 00:00:00 2001 From: yuetloo Date: Mon, 1 May 2023 17:13:38 -0400 Subject: [PATCH] revert hash routing changes as ipfs issue was resolved after pages were synched --- vue-app/public/_redirects | 1 + vue-app/src/router/index.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 vue-app/public/_redirects diff --git a/vue-app/public/_redirects b/vue-app/public/_redirects new file mode 100644 index 000000000..7797f7c6a --- /dev/null +++ b/vue-app/public/_redirects @@ -0,0 +1 @@ +/* /index.html 200 diff --git a/vue-app/src/router/index.ts b/vue-app/src/router/index.ts index 48c64e319..0f66a3e73 100644 --- a/vue-app/src/router/index.ts +++ b/vue-app/src/router/index.ts @@ -1,4 +1,4 @@ -import { createRouter, createWebHashHistory } from 'vue-router' +import { createRouter, createWebHistory } from 'vue-router' import type { RouteRecordRaw } from 'vue-router' const Landing = () => import('@/views/Landing.vue') @@ -251,7 +251,7 @@ const routes: Array = [ ] const router = createRouter({ - history: createWebHashHistory(), + history: createWebHistory(), routes, })