summaryrefslogtreecommitdiff
path: root/internal/storage/db_test.go
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-03-16 20:57:00 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-03-16 20:57:00 +0000
commit85003cd4372475b9cae973b74261a6ca3f61af0d (patch)
tree3a33811f0b117f365ec46ee0bf547241c6b40b2f /internal/storage/db_test.go
parent48aec51b531d995574c5788e5f474343cc6e5c87 (diff)
fix: serve sw.js from /api/push/sw.js to bypass Apache static file routing
Apache fronts the Go service and only proxies /api/ paths; /sw.js hits Apache's filesystem and 404s. Serve the service worker from /api/push/sw.js with Service-Worker-Allowed: / so the browser allows it to control the full origin scope. Update SW registration URL. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/storage/db_test.go')
0 files changed, 0 insertions, 0 deletions