overlay for the hotkey
This commit is contained in:
@@ -187,8 +187,7 @@ npm run dev
|
||||
Open it in your browser:
|
||||
[http://localhost:8080/](http://localhost:8080/)
|
||||
|
||||
|
||||
When done, do not forget to update the cache version in the `service-worker.js`
|
||||
When done, do not forget to update the `CACHE_VERSION` in the `service-worker.js`. It is the indicator for the PWA that the new version is available.
|
||||
```bash
|
||||
ver=$(grep -oP "CACHE_VERSION = 'nexus-timer-cache-v\K[0-9]+" public/service-worker.js)
|
||||
sed -i "s/nexus-timer-cache-v$ver/nexus-timer-cache-v$((ver+1))/" public/service-worker.js
|
||||
@@ -212,4 +211,4 @@ View real-time logs
|
||||
```bash
|
||||
journalctl -fu virt-nexus-timer.service
|
||||
```
|
||||
The previously installed PWA should now offer an upgrade
|
||||
The previously installed PWA should update automatically or offer an upgrade
|
||||
Reference in New Issue
Block a user