Make hk-planner installable as a PWA

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jtricerolph 2026-07-11 11:27:00 +00:00
parent c0b1d2a62e
commit fbda399d21
7 changed files with 6325 additions and 2 deletions

View file

@ -1,4 +1,20 @@
server {
location = /hk-planner/manifest.webmanifest {
default_type application/manifest+json;
add_header Cache-Control "no-cache";
try_files $uri =404;
}
location = /hk-planner/sw.js {
add_header Cache-Control "no-cache";
try_files $uri =404;
}
location = /hk-planner/registerSW.js {
add_header Cache-Control "no-cache";
try_files $uri =404;
}
listen 80;
server_name localhost;
root /usr/share/nginx/html;