Uprava error stranek, indexu

This commit is contained in:
Michal Kváček
2023-12-19 20:34:06 +01:00
parent 9aebc352cd
commit 966d582b63
28 changed files with 100 additions and 62 deletions
+9 -2
View File
@@ -27,7 +27,6 @@ const routes = [
{path: 'letadlo/:id', name: "publicAircraftDetail", component: () => import('pages/public/aircraft/AircraftDetailPage.vue')},
{path: 'mista', name: "publicPOIs", component: () => import('pages/public/poi/PointsOfInterestPage.vue')},
{path: 'mista/:id', name: "publicPOIDetail", component: () => import('pages/public/poi/PointOfInterestDetailPage.vue')},
]
},
{
@@ -69,8 +68,16 @@ const routes = [
]
},
{path: '/refresh', name: "profileRefresh", component: () => import('pages/profile/ProfileRefreshPage.vue')},
{
path: '/errors',
children: [
{path: '404', name: "404", component: () => import('pages/errors/ErrorNotFound.vue')},
{path: '500', name: "500", component: () => import('pages/errors/ServerError.vue')},
]
},
{path: '/refresh', name: "profileRefresh", component: () => import('pages/profile/ProfileRefreshPage.vue')},
// Always leave this as last one,