From 6774107b9b15a052ce1305b0ebd97d32557f9d63 Mon Sep 17 00:00:00 2001 From: Harry Yep Date: Wed, 14 Jun 2023 21:34:07 +0700 Subject: [PATCH] fix: redirect --- next.config.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/next.config.js b/next.config.js index 8e5e9416..c30aa384 100644 --- a/next.config.js +++ b/next.config.js @@ -15,11 +15,6 @@ const nextConfig = withPWA({ reactStrictMode: true, async redirects() { return [ - { - source: '/dashboard/:path*', - destination: '/login', - permanent: true, - }, { source: '/dashboard/profile', destination: '/dashboard/profile/info',