Remove temporary debug-headers route
Test backoffice (smb-crm) / test (push) Successful in 1m34s

Diagnosis done: Caddy wasn't forwarding X-Forwarded-Proto at all,
fixed on the Caddy side (header_up in the smb_crm_fwd snippet), not
a Flask/ProxyFix issue.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-12 00:06:45 +02:00
parent 6ec16b0afa
commit 2862835599
-5
View File
@@ -84,11 +84,6 @@ def rows_json(rows):
return [{k: jsonable(v) for k, v in r.items()} for r in rows]
@app.get("/owner/_debug_headers")
def _debug_headers():
return jsonify({"scheme": request.scheme, "headers": dict(request.headers)})
@app.get("/healthz")
def healthz():
try: