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
useRuntimeConfig(event) should be called within an event handler function, as this is required for CF support, and also can trigger rollup bundling issues if called outside it (see nuxt/nuxt#30511)
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered:
Environment
Nuxt Security Version
latest
Default setup used?
Yes, the bug happens even if the security option is not customized
Security options
Reproduction
https://github.com/Baroshem/nuxt-security/blob/47d38b32e8b99e33081c4c66d0f35687b9c40457/src/runtime/server/middleware/basicAuth.ts#L19
Description
useRuntimeConfig(event)
should be called within an event handler function, as this is required for CF support, and also can trigger rollup bundling issues if called outside it (see nuxt/nuxt#30511)Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: