Skip to content
Discussion options

You must be logged in to vote

Hey @br0kenpixel, this is out of the package control since Nuxt takes care of propagating env/config by itself. My guess is that Nuxt compiles this config for prerendered pages, so it does not get updated when you navigate to another route.

I would recommend doing the opposite, define NUXT_PUBLIC_SANCTUM_BASE_URL for local development and have production config in nuxt.config.ts, it should help.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by manchenkoff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants