This is an automated email from the ASF dual-hosted git repository.
taowang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/amoro.git
The following commit(s) were added to refs/heads/master by this push:
new d6ae2afb6 [AMORO-3492] replace history mode with hash mode to avoid
access issues (#3496)
d6ae2afb6 is described below
commit d6ae2afb680e633180aa16663c6cfcb916f52026
Author: Liammcl <[email protected]>
AuthorDate: Tue Apr 1 10:17:06 2025 +0800
[AMORO-3492] replace history mode with hash mode to avoid access issues
(#3496)
---
amoro-web/src/router/index.ts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/amoro-web/src/router/index.ts b/amoro-web/src/router/index.ts
index 4c6b39467..734395410 100644
--- a/amoro-web/src/router/index.ts
+++ b/amoro-web/src/router/index.ts
@@ -17,7 +17,7 @@
*/
import type { RouteRecordRaw } from 'vue-router'
-import { createRouter, createWebHistory } from 'vue-router'
+import { createRouter, createWebHashHistory } from 'vue-router'
const SwaggerUI = () => import('@/components/SwaggerUI.vue')
const Home = () => import('@/views/Home.vue')
const Page404 = () => import('@/views/404.vue')
@@ -119,7 +119,7 @@ const routes: Array<RouteRecordRaw> = [
]
const router = createRouter({
- history: createWebHistory(),
+ history: createWebHashHistory(),
routes,
})