From 108e5d5d2f788944f70f3e77fb9b21d9d23b5de3 Mon Sep 17 00:00:00 2001 From: Pitu <7425261+Pitu@users.noreply.github.com> Date: Tue, 18 Sep 2018 04:02:21 -0300 Subject: =?UTF-8?q?404=E3=82=A8=E3=83=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/site/router/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/site/router') 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') } ] }); -- cgit v1.2.3