From db5b449431e5add199ed8cb334dd0587e1cc03d4 Mon Sep 17 00:00:00 2001 From: Juanma Hidalgo Date: Tue, 26 Nov 2024 14:53:48 +0100 Subject: [PATCH] feat: update CORS default --- .env.default | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.default b/.env.default index 697ad0d..9834e59 100644 --- a/.env.default +++ b/.env.default @@ -1,5 +1,5 @@ CORS_ORIGIN=^http:\/\/localhost:[0-9]{1,10}$ -CORS_METHODS=* +CORS_METHODS="['GET', 'PUT', 'OPTIONS']" HTTP_SERVER_PORT=5001 HTTP_SERVER_HOST=0.0.0.0