even better security
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export const CORS_HEADERS = {
|
||||
"Access-Control-Allow-Origin": "*",
|
||||
"Access-Control-Allow-Origin": "null",
|
||||
"Access-Control-Allow-Methods": "GET,OPTIONS",
|
||||
"Access-Control-Allow-Headers": "Content-Type",
|
||||
};
|
||||
@@ -10,4 +10,6 @@ export const SECURITY_HEADERS = {
|
||||
"X-Frame-Options": "DENY",
|
||||
"X-XSS-Protection": "1; mode=block",
|
||||
"Referrer-Policy": "strict-origin-when-cross-origin",
|
||||
"Strict-Transport-Security": "max-age=63072000; includeSubDomains",
|
||||
"Permissions-Policy": "camera=(), geolocation=(), payment=()",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user