Issue I made: https://github.com/hapijs/hapi/issues/4307
I was wondering if anyone had come across this in hapijs before, I can't redirect with query params in the url
server.route({
path: '/test',
method: 'GET',
handler: async (req, h) => {
return h.redirect('http://localhost:5000/login/callback?token=a');
},
})
I managed to solve this, was because I had a seperate file I was importing for my login route, not sure why probably just some weirdness