This commit is contained in:
Mateusz Gruszczyński
2026-05-08 20:51:05 +02:00
parent 51090a0eec
commit 673665d03d
7 changed files with 22 additions and 7 deletions

View File

@@ -9,7 +9,6 @@ bp = Blueprint("main", __name__)
def _asset_url(key: str) -> str:
# Notatka: API docs korzysta z tego samego przełącznika CDN/offline co reszta aplikacji.
path = asset_path(key)
return path if path.startswith("http") else url_for("static", filename=path)