aboutsummaryrefslogtreecommitdiff
path: root/src/site
diff options
context:
space:
mode:
Diffstat (limited to 'src/site')
-rw-r--r--src/site/router/index.js5
-rw-r--r--src/site/views/NotFound.vue4
2 files changed, 5 insertions, 4 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') }
]
});
diff --git a/src/site/views/NotFound.vue b/src/site/views/NotFound.vue
index 17d07d2..6f4d7c9 100644
--- a/src/site/views/NotFound.vue
+++ b/src/site/views/NotFound.vue
@@ -10,10 +10,10 @@
<template>
<section class="hero is-fullheight">
- <Navbar/>
+ <Navbar :isWhite="true"/>
<div class="hero-body">
<div class="container">
- <h2>404</h2>
+ <h2>404エラ</h2>
</div>
</div>
</section>