aboutsummaryrefslogtreecommitdiff
path: root/src/site/router/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/site/router/index.js')
-rw-r--r--src/site/router/index.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/site/router/index.js b/src/site/router/index.js
index 7b9b051..79053b9 100644
--- a/src/site/router/index.js
+++ b/src/site/router/index.js
@@ -12,8 +12,9 @@ const router = new Router({
{ path: '/dashboard', component: () => import('../views/Dashboard/Uploads.vue') },
{ path: '/dashboard/albums', component: () => import('../views/Dashboard/Albums.vue') },
{ path: '/dashboard/settings', component: () => import('../views/Dashboard/Settings.vue') },
- { path: '/a/:identifier', component: () => import('../views/PublicAlbum.vue'), props: true }
- // { path: '*', component: () => import('../views/NotFound.vue') }
+ { path: '/a/:identifier', component: () => import('../views/PublicAlbum.vue'), props: true },
+ { path: '/404', component: () => import('../views/NotFound.vue') },
+ { path: '*', component: () => import('../views/NotFound.vue') }
]
});