Skip to content
This repository was archived by the owner on Mar 26, 2023. It is now read-only.

Commit 2bc4e37

Browse files
committed
fix router errors
1 parent 22ca48d commit 2bc4e37

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/router/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ import { createRouter, createWebHistory } from 'vue-router'
22

33
const routes = [
44
{
5-
path: '/',
5+
path: '/apps',
66
name: 'services',
77
component: () => import('../views/Services.vue')
88
},
99
{
10-
path: '/404',
10+
path: '/apps/404',
1111
name: 'not-found',
1212
component: () => import('../views/NotFound.vue')
1313
}
1414
];
1515

1616
const router = createRouter({
17-
history: createWebHistory('/apps'),
17+
history: createWebHistory('/'),
1818
routes
1919
});
2020

0 commit comments

Comments
 (0)