no ask before updating

This commit is contained in:
2024-03-13 11:32:11 +08:00
parent 0ac7d2f601
commit a87287653a
3 changed files with 7 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ class App extends Component {
window.BACKEND =
localStorage['BACKEND'] || process.env.REACT_APP_BACKEND || '/';
check_service_work_update(false);
check_service_work_update(true);
if (process.env.NODE_ENV === 'production') {
setTimeout(() => {
fetch('https://api.github.com/users/hole-thu')