Skip to content
This repository was archived by the owner on Jul 10, 2019. It is now read-only.

Commit f27d714

Browse files
committed
feat(nuxt.config.ts): delete check-auth.ts
1 parent 55756d9 commit f27d714

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

nuxt.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ module.exports = {
130130
router: {
131131
// リロードのタイミングでは SSR 側で実行される
132132
// ルーティングの度に CSR 側で実行される
133-
middleware: 'check-auth',
133+
// ログインの必要のない画面でも middleware が実行されるので注意が必要
134+
// middleware: 'check-auth',
134135

135136
extendRoutes(routes: any, resolve: any) {
136137
// https://ja.nuxtjs.org/api/configuration-router/#extendroutes

src/middleware/check-auth.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)