Skip to content

Commit b582363

Browse files
authored
Fix missing cors_enabled in config.py, and added tests for admin apis (#406)
Signed-off-by: Mihai Criveti <[email protected]>
1 parent 6aa6e59 commit b582363

File tree

4 files changed

+627
-11
lines changed

4 files changed

+627
-11
lines changed

mcpgateway/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ class Settings(BaseSettings):
7979

8080
# Security
8181
skip_ssl_verify: bool = False
82+
cors_enabled: bool = True
8283

8384
# For allowed_origins, strip '' to ensure we're passing on valid JSON via env
8485
# Tell pydantic *not* to touch this env var - our validator will.

0 commit comments

Comments
 (0)