Skip to content

Commit

Permalink
fix: no cache of index/sw
Browse files Browse the repository at this point in the history
  • Loading branch information
glorat committed Jun 20, 2023
1 parent 6790879 commit b0baf19
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,26 @@
"source": "**",
"destination": "/index.html"
}
],
"headers": [
{
"source": "index.html",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=0"
}
]
},
{
"source": "/sw.js",
"headers": [
{
"key": "Cache-Control",
"value": "no-cache"
}
]
}
]
},
"firestore": {
Expand Down

0 comments on commit b0baf19

Please sign in to comment.