Baroshem / nuxt-security

🛡 Automatically configure your app to follow OWASP security patterns and principles by using HTTP Headers and Middleware
https://nuxt-security.vercel.app/
MIT License
738 stars 56 forks source link

Mention about expected behavior of security config declared globally vs via `defineRouteRules` #385

Closed DamianGlowala closed 2 months ago

DamianGlowala commented 4 months ago

Is your feature request related to a problem? Please describe.

Users (including myself) might be uncertain how security config defined via defineRouteRules behaves compared to globally declared one without looking into the source code or experimenting.

Describe the solution you'd like

Mention in the docs describing the above behaviour (are these configs merged, replaced, etc.).

Describe alternatives you've considered

n/a

Additional context

n/a

Baroshem commented 4 months ago

Hey @DamianGlowala

Thanks for this issue!

I have added it to 1.3.0 milestone planning :)