Home

Published

- 1 min read

how to add feature policy header

img of how to add feature policy header

The solution for this is noted below

how to add feature policy header

Solution

   //Add this in the .htaccess file.

<IfModule mod_headers.c>
Header always set Permissions-Policy "geolocation=(), midi=(),sync-xhr=(),accelerometer=(), gyroscope=(), magnetometer=(), camera=(), fullscreen=(self)"
</IfModule>

Try other methods by searching on the site. That is if this doesn’t work