Browse Source

fix version detection bug when offline and update screenshot 2.0.8

master
forest 9 months ago
parent
commit
5f29fe55cb
5 changed files with 5 additions and 5 deletions
  1. +1
    -1
      ReadMe.md
  2. +1
    -1
      build-docker.sh
  3. +1
    -1
      index.html.gotemplate
  4. BIN
      readme/screenshot.png
  5. +2
    -2
      static/application.js

+ 1
- 1
ReadMe.md View File

@ -21,7 +21,7 @@ docker run \
-e SEQUENTIALREAD_PWM_BACKBLAZE_SECRET_ACCESS_KEY=EXAMPLEEXAMPLEEXAMPLEEXAMPLEKEY \
-e SEQUENTIALREAD_PWM_BACKBLAZE_BUCKET_NAME=sequentialread-password-manager \
-e SEQUENTIALREAD_PWM_BACKBLAZE_BUCKET_REGION=us-west-000 \
sequentialread/sequentialread-password-manager:2.0.6
sequentialread/sequentialread-password-manager:2.0.8
```
See "Hosting it yourself" for more information.


+ 1
- 1
build-docker.sh View File

@ -1,6 +1,6 @@
#!/bin/bash -e
VERSION="2.0.6"
VERSION="2.0.8"
rm -rf dockerbuild || true
mkdir dockerbuild


+ 1
- 1
index.html.gotemplate View File

@ -24,7 +24,7 @@
</head>
<body>
<div class="header">
<h3>Sequential Read Password Manager <span style="font-size: 0.65em; font-weight: normal;">v2.0.6</span></h3>
<h3>Sequential Read Password Manager <span style="font-size: 0.65em; font-weight: normal;">v2.0.8</span></h3>
<div style="float:right; padding-right:20px;">
<button class="hamburger-button"></button>
<a class="nav-link-responsive" href="https://git.sequentialread.com/forest/sequentialread-password-manager">source code and documentation</a>


BIN
readme/screenshot.png View File

Before After
Width: 886  |  Height: 481  |  Size: 44 KiB Width: 722  |  Height: 425  |  Size: 84 KiB

+ 2
- 2
static/application.js View File

@ -1002,8 +1002,8 @@
http('GET', 'version', {}, null)
.then(
(currentVersion) => {
var lastVersion = window.localStorage[`${localStorageKeyPrefix}version`];
if(currentVersion && currentVersion != lastVersion) {
var lastVersion = window.localStorage[`${localStorageKeyPrefix}version`];
if(currentVersion && currentVersion != "serviceworker request failed" && currentVersion != lastVersion) {
console.log(`reloading service worker due to new app version: ${currentVersion}`)
window.localStorage[`${localStorageKeyPrefix}version`] = currentVersion;


Loading…
Cancel
Save