Fix service workers
Some checks failed
ci / site (push) Has been cancelled
publish-image / publish (push) Has been cancelled

This commit is contained in:
2026-02-10 04:54:05 -05:00
parent 8f1c0746a5
commit 12e7eae95a
7 changed files with 21 additions and 6 deletions

View File

@@ -5,6 +5,11 @@ PUBLIC_SITE_URL=https://example.com
PUBLIC_UMAMI_SCRIPT_URL=https://analytics.example.com/script.js
PUBLIC_UMAMI_WEBSITE_ID=00000000-0000-0000-0000-000000000000
# Service worker toggle (public, build-time). Use to enable in prod/staging.
# - In `npm run dev`, service workers are not registered regardless.
# - In `npm run build`/`preview`, SW is registered only if this is "true".
PUBLIC_ENABLE_SW=true
# Content ingestion configuration (used by scripts)
YOUTUBE_CHANNEL_ID=UCxxxxxxxxxxxxxxxxxxxxxx
YOUTUBE_API_KEY=