Answers for "what is feature policy header"

1

how to add feature policy header

//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>
Posted by: Guest on June-27-2021

Browse Popular Code Answers by Language