fix: add Last-Event-ID to CORS allow_headers to unblock SSE reconnects

This commit is contained in:
2026-04-09 19:26:24 -04:00
parent 6b8392102e
commit cea6279a08

View File

@@ -54,7 +54,7 @@ app.add_middleware(
allow_origins=DECNET_CORS_ORIGINS,
allow_credentials=False,
allow_methods=["GET", "POST", "PUT", "DELETE", "OPTIONS"],
allow_headers=["Authorization", "Content-Type"],
allow_headers=["Authorization", "Content-Type", "Last-Event-ID"],
)
# Include the modular API router