debug mode

This commit is contained in:
Mateusz Gruszczyński
2025-07-25 21:14:21 +02:00
parent 1a98b7165d
commit b17a12b9fd

3
app.py
View File

@@ -2223,6 +2223,7 @@ def recalculate_filesizes():
@app.route("/healthcheck")
@talisman.exempt
def healthcheck():
header_token = request.headers.get("X-Internal-Check")
correct_token = app.config.get("HEALTHCHECK_TOKEN")
@@ -2600,7 +2601,7 @@ def create_db():
if extra_cols:
print(
f"Dodatkowe kolumny w tabeli '{table}': {', '.join(sorted(extra_cols))}"
f"Dodatkowe kolumny w tabeli '{table}': {', '.join(sorted(extra_cols))}"
)
if missing_tables or critical_error: