Redirect / to /home in the router
This commit is contained in:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user