-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.
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