7 changed files with 56 additions and 5 deletions
@ -0,0 +1,6 @@
|
||||
{ |
||||
"rules": { |
||||
".read": true, |
||||
".write": true |
||||
} |
||||
} |
||||
@ -0,0 +1,29 @@
|
||||
{ |
||||
"database": { |
||||
"rules": "database.rules.json" |
||||
}, |
||||
"hosting": { |
||||
"public": "build", |
||||
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"], |
||||
"headers": [ |
||||
{ |
||||
"source": "**/.jpg", |
||||
"headers": [ |
||||
{ |
||||
"key": "Cache-Control", |
||||
"value": "max-age=3000000" |
||||
} |
||||
] |
||||
} |
||||
], |
||||
"rewrites": [ |
||||
{ |
||||
"source": "**", |
||||
"destination": "/index.html" |
||||
} |
||||
] |
||||
}, |
||||
"storage": { |
||||
"rules": "storage.rules" |
||||
} |
||||
} |
||||
Loading…
Reference in new issue