summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ATRI/plugins/console/driver/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ATRI/plugins/console/driver/__init__.py b/ATRI/plugins/console/driver/__init__.py
index 3568197..22afd4a 100644
--- a/ATRI/plugins/console/driver/__init__.py
+++ b/ATRI/plugins/console/driver/__init__.py
@@ -34,8 +34,8 @@ def register_routes(driver: Driver):
CORSMiddleware,
allow_origins=origins,
allow_credentials=True,
- allow_methods=["*"],
- allow_headers=["*"],
+ allow_methods=["GET", "POST", "PUT"],
+ allow_headers=["Content-Type"],
)
app.get(CONSOLE_API_URI)(handle_base_uri)