Update sw.js from pwa:create:sw, add PWA static paths to Caddy prod
- sw.js regenerated by Workbox with full cache strategies - Add screen.png, site.webmanifest, workbox/*, idb/*, pwa/* to Caddy static paths Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@ ticket.e-cosplay.fr {
|
||||
dns cloudflare {{ cloudflare_api_token }}
|
||||
}
|
||||
|
||||
@static path /logo.png /favicon.ico /favicon.png /marker.png /manifest.json /sw.js /build/* /uploads/*
|
||||
@static path /logo.png /favicon.ico /favicon.png /marker.png /screen.png /manifest.json /site.webmanifest /sw.js /workbox/* /idb/* /build/* /uploads/* /pwa/*
|
||||
handle @static {
|
||||
root * /var/www/e-ticket/public
|
||||
file_server
|
||||
|
||||
Reference in New Issue
Block a user