Commit 72fc5af
committed
bistro: fix PWA start_url and bump SW cache to v2
- manifest.json: start_url was '#/' (invalid per W3C spec — must be a
URL path), causing the installed PWA to fail to launch on mobile
Share > Add to Home Screen. Changed to './' so the OS opens
index.html and the hash router takes over.
- sw.js: bump CACHE_NAME bistro-gem-v1 -> v2 so the activate handler
flushes the old (broken) shell for users who already installed.1 parent 299747b commit 72fc5af
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments