Added redirects() function to next.config.js, changed Settings url
This commit is contained in:
1 parent
17b880335a
commit
d2ca59adb8
3 files changed
+10
-20
No files matched your search
@@ -22,4 +22,13 @@ module.exports = withTM({
|
||||
typescript: {
|
||||
ignoreBuildErrors: true,
|
||||
},
|
||||
async redirects() {
|
||||
return [
|
||||
{
|
||||
source: '/settings',
|
||||
destination: '/settings/profile',
|
||||
permanent: true,
|
||||
}
|
||||
]
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user