You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-What happens ?
When I use "npm run dev" to view the bug page, the {{time}} called by nuxt server api is successfuly rendered.
But if I use "npm run build" and run production version. The api call was not called.
It seems to be "useCsrfFetch" not calling the nuxt server api in the production page.
-What is expected to happen ?
useCsrfFetch is working and the about page call the nuxt server api.
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered:
Environment
Nuxt Security Version
v2.1.5
Default setup used?
Yes, the bug happens even if the security option is not customized
Security options
Reproduction
Github:
https://github.com/raliclo/Nuxt_Security_PrimeVue_Pinia
Bug page
http://localhost:3000/about
Description
Bug page
http://localhost:3000/about
-What happens ?
When I use "npm run dev" to view the bug page, the {{time}} called by nuxt server api is successfuly rendered.
But if I use "npm run build" and run production version. The api call was not called.
It seems to be "useCsrfFetch" not calling the nuxt server api in the production page.
-What is expected to happen ?
useCsrfFetch is working and the about page call the nuxt server api.
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: