mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-07 02:58:11 +00:00
add redirect routes
This commit is contained in:
parent
a843edde5e
commit
a9e26bb8f9
1 changed files with 14 additions and 0 deletions
|
|
@ -33,6 +33,20 @@ const nextConfig: NextConfig = {
|
|||
]
|
||||
},
|
||||
skipTrailingSlashRedirect: true,
|
||||
async redirects() {
|
||||
return [
|
||||
{
|
||||
source: "/new",
|
||||
destination: "/",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
source: "/new/:path*",
|
||||
destination: "/:path*",
|
||||
permanent: true,
|
||||
},
|
||||
]
|
||||
},
|
||||
}
|
||||
|
||||
export default withSentryConfig(nextConfig, {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue