So because of the way the platform works, whenever I make an edit I have to sign back into my app each time.
Because the app loads into / on load I have to sit through the auth & redirect loop to get back to the login page
Because its a proto I’m building I don’t care tooooo much about the auth process, but this one is eating 60-90s each load as it goes through the loops and gets be back to login (I’ve tried to fix this but it ate too many tokens without progress so I gave up)
Here’s a suggested prompt you can paste directly into v0 to implement this:
“Update my project so that preview deployments automatically redirect / to /auth/login. Use the simplest approach. Add a vercel.json file at the project root with a non-permanent redirect from / to /auth/login. If a vercel.json already exists, merge the redirect into the existing config without breaking anything else.”