CoralPink / commentary

This site introduces WezTerm and Neovim dotfiles that I usually use.

Home Page:https://coralpink.github.io/commentary

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Decide whether `skipWaiting()` is used based on the version of `ServiceWorker`.

CoralPink opened this issue · comments

The current implementation is only:
use skipWaiting() because the version needs to be updated immediately.

The behavior originally required by:
skipWaiting() because it is older than the version that needs to be updated immediately.

Therefore, it is advisable to compare major/minor versions to make a decision.

25b5d5e (PR #70)

I am a little doubtful that there is absolutely no problem with the operation, but since the implementation is done for the time being, we are done!