Fix cwd usage

This commit is contained in:
Johannes Zellner
2023-03-29 17:44:52 +02:00
parent e9175e78bd
commit 7a38225a37
3 changed files with 8 additions and 12 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ import Viewer from './views/Viewer.vue';
const routes = [
{ path: '/', redirect: '/home' },
{ path: '/home/:appId?/:currentPath*', component: Home },
{ path: '/home/:appId?/:cwd*', component: Home },
{ path: '/viewer/:appId/:filePath*', component: Viewer },
{ path: '/login', component: Login },
];