Added redirects() function to next.config.js, changed Settings url

This commit is contained in:
Alex van Andel committed 2021-05-07 15:04:56 +00:00
1 parent 17b880335a
commit d2ca59adb8
3 files changed
+10 -20

No files matched your search

+9
View File
@@ -22,4 +22,13 @@ module.exports = withTM({
typescript: {
ignoreBuildErrors: true,
},
async redirects() {
return [
{
source: '/settings',
destination: '/settings/profile',
permanent: true,
}
]
}
});