From 6e251d3b84ec0213be6f8ed84802849642199e04 Mon Sep 17 00:00:00 2001 From: Abhishek ojha Date: Sat, 19 Oct 2024 15:37:51 +0530 Subject: [PATCH] Resolved different firebase hosting target --- firebase.json | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/firebase.json b/firebase.json index 158e9c8a..c1511ce1 100644 --- a/firebase.json +++ b/firebase.json @@ -25,7 +25,25 @@ "rewrites": [ { "source": "**", "destination": "/index.html" - }] + } ], + "headers": [ { + "source": "**", + "headers": [ { + "key": "X-Frame-Options", + "value": "SAMEORIGIN" + }, + { + "key": "Content-Security-Policy", + "value": "default-src 'self';font-src 'self' data: *;script-src 'self' 'unsafe-inline' 'unsafe-eval' fonts.googleapis.com;img-src 'self' 'unsafe-inline' *.shopify.com javascript: ;style-src 'self' 'unsafe-inline' *; connect-src 'self' *" + }, + { + "key": "strict-transport-security", + "value": "max-age=31536000; includeSubDomains" + },{ + "key": "Permissions-Policy", + "value": "camera=self" + } ] + }] }, { "target": "uat",