Files
softharbor/scripts
poli0981 cac82c39d1 docs: add README, CONTRIBUTING, CoC; fix the service worker's navigation route
Service worker: omitting `navigateFallback` does not disable it —
vite-plugin-pwa defaults it to index.html, so the SW registered
NavigationRoute(createHandlerBoundToURL('/')) and threw non-precached-url
on every SW-handled navigation. Had '/' been precached it would have
served the home page for every navigation instead, silently. Fixed with
navigateFallback: '' and a new `pnpm check:sw` gate that asserts the
emitted sw.js rather than the config.

Repo docs: README, CONTRIBUTING (inclusion criteria, gates, auto-close
list) and CODE_OF_CONDUCT (Contributor Covenant 2.1 by reference).
2026-07-30 16:53:36 +07:00
..