We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
nuxt-security: 0.14.4 nuxt: 3.6.5
Stackblitz
// nuxt.config.ts / security.headers security: { headers: { permissionsPolicy: { geolocation: ["self", '"https://api.website.com"'], midi: [], payment: [], camera: ["self", '"https://api.website.com"'], microphone: ["self", '"https://api.website.com"'], usb: [], magnetometer: [], "document-domain": [], }, }, },
geolocation=(self "https://api.website.com"), midi=(), payment=(), camera=(self "https://api.website.com"), microphone=(self "https://api.website.com"), usb=(), magnetometer=(), document-domain=()
camera=self "https://api.website.com", display-capture=(), fullscreen=(), geolocation=self "https://api.website.com", microphone=self "https://api.website.com"
Here is MDN Example
The text was updated successfully, but these errors were encountered:
Hey!
Thanks for reporting this issue!
From what I understand, this bug appears only when you are passing an array. Is that correct?
Would you be interested in fixing this bug? :)
Sorry, something went wrong.
Sure, here is PR
Thank you so much @nekotoriy
I will review it pater today and will release a patch version :)
Successfully merging a pull request may close this issue.
Version
nuxt-security: 0.14.4
nuxt: 3.6.5
Reproduction Link
Stackblitz
Steps to reproduce
What is Expected?
What is actually happening?
Here is MDN Example
The text was updated successfully, but these errors were encountered: