#Laravel Breeze & Next.js / API, what ENV values do I put on production?

1 messages · Page 1 of 1 (latest)

storm bluff
#

They should be set to the URLs you deployed to, just like you have locally, but then with actual URLs

storm bluff
#

Yeah, if that's where you deployed to

storm bluff
#

Probably it's not properly deployed there?

storm bluff
#

Yeah, you'd first need to get a CSRF token

#

Yes, unless you're getting an error (like a 404)

winged osprey
#

Well because you’re jumping two steps ahead. You need to resolve the 404 error when trying to get the CSRF token first.

#

Your app is clearly not set up or configured like you think it is.