Fix: Update-Loop — index.html Script-Tags auf APP_VER synchronisiert (SW by-v889)
Root cause: ?v=885 in Script-Tags → Browser cached app.js immutable für 1 Jahr. Nach force-update (löscht nur SW-Cache, nicht Browser-HTTP-Cache) lädt Browser alte app.js mit APP_VER=885 → X-App-Version: 889 Mismatch → Endlosschleife. Ab jetzt: ?v= in index.html IMMER mit APP_VER synchron halten.
This commit is contained in:
parent
7257c9e04f
commit
437901b8e2
4 changed files with 7 additions and 7 deletions
|
|
@ -406,7 +406,7 @@ async def serve_media(path: str, request: _Request):
|
|||
raise _HE(404, "Nicht gefunden.")
|
||||
return _media_response(filepath)
|
||||
|
||||
APP_VER = "888" # muss mit APP_VER in app.js übereinstimmen
|
||||
APP_VER = "889" # muss mit APP_VER in app.js übereinstimmen
|
||||
|
||||
@app.get("/.well-known/assetlinks.json")
|
||||
async def assetlinks():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue