mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Merge pull request #1814 from appwrite/fix-disable-cache-on-service-worker
fix: disable cache for service-worker.js
This commit is contained in:
@@ -10,6 +10,11 @@ server {
|
||||
# serve compressed file if filename.gz exists
|
||||
gzip_static on;
|
||||
|
||||
location = /console/service-worker.js {
|
||||
root /usr/share/nginx/html;
|
||||
add_header Cache-Control "public, max-age=30" always;
|
||||
}
|
||||
|
||||
location /console {
|
||||
root /usr/share/nginx/html;
|
||||
index index.html index.htm;
|
||||
|
||||
Reference in New Issue
Block a user