feat(my-pages): redirect to overview in middleware
This commit is contained in:
@@ -46,40 +46,6 @@ const nextConfig = {
|
||||
|
||||
return config
|
||||
},
|
||||
redirects() {
|
||||
return [
|
||||
{
|
||||
source: myPages.da,
|
||||
destination: overview.da,
|
||||
permanent: false,
|
||||
},
|
||||
{
|
||||
source: myPages.de,
|
||||
destination: overview.de,
|
||||
permanent: false,
|
||||
},
|
||||
{
|
||||
source: myPages.en,
|
||||
destination: overview.en,
|
||||
permanent: false,
|
||||
},
|
||||
{
|
||||
source: myPages.fi,
|
||||
destination: overview.fi,
|
||||
permanent: false,
|
||||
},
|
||||
{
|
||||
source: myPages.no,
|
||||
destination: overview.no,
|
||||
permanent: false,
|
||||
},
|
||||
{
|
||||
source: myPages.sv,
|
||||
destination: overview.sv,
|
||||
permanent: false,
|
||||
},
|
||||
]
|
||||
},
|
||||
rewrites() {
|
||||
return {
|
||||
beforeFiles: [
|
||||
|
||||
Reference in New Issue
Block a user