N
Nuxt4mo ago
thorne51

Amplify trailing slashes

I'm having some trouble with hosting our Nuxt3 app on Amplify. For some reason Amplify keeps giving us a 301 redirect with a trailing slash, which seems to get rewritten back to without trailing slashes. Accessing https://spa.baseplay.co/about with Chrome dev tools open and inspecting the Network tab, shows that about gives 301 redirect to about/ and this can be observed in the address bar as well (helps to throttle the connection though). Then the address bar changes back to about (minus trailing slash). While this does not strictly break our about page, on item pages (which have some custom routing) this breaks completely as they are not generated upfront. What I've also noticed is that our GPT ads are not being shown, and I suspect the redirects might be the cause, although this is an entirely different issue alltogether. Thanks in advance for any help/insights.
Baseplay
About us | Baseplay
Digital Media, Reimagined
1 Reply
thorne51
thorne51OP4mo ago
I've been looking but I can't figure out how to tell Amplify "no don't do that, it makes me cry"
Want results from more Discord servers?
Add your server