modifying dev server url
Unanswered
vikram posted this in #help-forum
vikramOP
12 Replies
sever url? lke the localhost:3000?
@vikram
vikramOP
Yes
Yes
I just want to add routename after that port so it will directly start on that particular route
@vikram I just want to add routename after that port so it will directly start on that particular route
You can use redirects for that
module.exports = {
async redirects() {
return [
{
source: '/',
destination: '/routename',
permanent: true,
},
]
},
}for you it will be like that
vikramOP
Ok let me check is it works for me or not
@vikram i got this error
do you need to have it as output:export?