Skip to content

Commit

Permalink
add: basePath redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
vikdiesel committed Dec 5, 2022
1 parent c2d23ee commit 475870a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
*/
const nextConfig = {
basePath: "/admin-one-react-tailwind",
async redirects() {
return [
{
source: '/',
destination: '/admin-one-react-tailwind',
basePath: false,
permanent: false
}
]
},
images: {
unoptimized: true,
remotePatterns: [
Expand Down

0 comments on commit 475870a

Please sign in to comment.