This is an automated email from the ASF dual-hosted git repository.

nicholasjiang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/paimon-webui.git


The following commit(s) were added to refs/heads/main by this push:
     new dff61907 [Bugfix] Fix routing errors (#374)
dff61907 is described below

commit dff619074881f6807ee3655aebbd3f6097dbb44c
Author: yangyang zhong <[email protected]>
AuthorDate: Fri Jun 14 00:46:27 2024 +0800

    [Bugfix] Fix routing errors (#374)
---
 paimon-web-ui/src/router/index.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/paimon-web-ui/src/router/index.ts 
b/paimon-web-ui/src/router/index.ts
index 0edca5db..a836d12e 100644
--- a/paimon-web-ui/src/router/index.ts
+++ b/paimon-web-ui/src/router/index.ts
@@ -19,12 +19,12 @@ import {
   type NavigationGuardNext,
   type RouteLocationNormalized,
   createRouter,
-  createWebHistory,
+  createWebHashHistory,
 } from 'vue-router'
 import routes from './routes'
 
 const router = createRouter({
-  history: createWebHistory(import.meta.env.BASE_URL),
+  history: createWebHashHistory(),
   routes,
 })
 

Reply via email to