Redirect / to /home in the router

This commit is contained in:
Johannes Zellner
2023-02-28 17:11:54 +01:00
parent 4f8f944282
commit 359396b2c7
3 changed files with 6 additions and 5 deletions
+1
View File
@@ -15,6 +15,7 @@ import Home from './views/Home.vue';
import Viewer from './views/Viewer.vue';
const routes = [
{ path: '/', redirect: '/home' },
{ path: '/home/:appId?/:currentPath*', component: Home },
{ path: '/viewer/:appId/:filePath*', component: Viewer },
{ path: '/login', component: Login },