Added support for configuring CORS headers

This commit is contained in:
Anuruth Lertpiya
2025-10-04 08:43:45 +00:00
parent 1e5e86d2c3
commit 0e1bc8a352
4 changed files with 8 additions and 1 deletions

View File

@@ -197,6 +197,7 @@ server:
host: "0.0.0.0" # Server host to bind to
port: 8080 # Server port to bind to
allowed_origins: ["*"] # Allowed CORS origins (default: all)
allowed_headers: ["*"] # Allowed CORS headers (default: all)
enable_swagger: false # Enable Swagger UI for API docs
backends: