Skip to content

Instantly share code, notes, and snippets.

@levidurfee levidurfee/firebase.json Secret
Created May 7, 2019

Embed
What would you like to do?
Firebase Hosting - Content Security Policy
{
"firestore": {
"rules": "firestore.rules",
"indexes": "firestore.indexes.json"
},
"functions": {
"predeploy": [
"npm --prefix \"%RESOURCE_DIR%\" run lint"
],
"source": "functions"
},
"hosting": {
"public": "public",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "/csp",
"function": "cspReport"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.