ZZZ Digital Lab

Back to HushBrief

firebase.json

{
  "hosting": {
    "public": "dist",
    "ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
    "headers": [
      {"source":"**","headers":[
        {"key":"X-Content-Type-Options","value":"nosniff"},
        {"key":"Referrer-Policy","value":"no-referrer"},
        {"key":"Permissions-Policy","value":"camera=(), microphone=(), geolocation=()"}
      ]},
      {"source":"/sw.js","headers":[{"key":"Cache-Control","value":"no-cache"}]},
      {"source":"/index.html","headers":[{"key":"Cache-Control","value":"no-cache"}]}
    ]
  }
}