Fix: Altes Hundeprofil-Foto wird beim Überschreiben gelöscht (SW by-v930)

- dogs.py /photo: alte foto_url vor Upload merken, nach Speichern von Disk löschen
- dog-profile.js: Hintergrund-Cache nach Foto-Wechsel invalidieren
This commit is contained in:
rene 2026-05-14 11:47:08 +02:00
parent 3585958c47
commit 567478a866
5 changed files with 19 additions and 5 deletions

View file

@ -406,7 +406,7 @@ async def serve_media(path: str, request: _Request):
raise _HE(404, "Nicht gefunden.")
return _media_response(filepath)
APP_VER = "929" # muss mit APP_VER in app.js übereinstimmen
APP_VER = "930" # muss mit APP_VER in app.js übereinstimmen
@app.get("/.well-known/assetlinks.json")
async def assetlinks():