From 65874728094bb550d6c311965fbb5f1577091bbb Mon Sep 17 00:00:00 2001 From: Prajjwal Kumar Date: Wed, 27 Mar 2024 20:26:04 +0530 Subject: [PATCH] refactor(config): allow wildcard origin for development and Docker Compose setups (#4231) --- config/development.toml | 4 ++-- config/docker_compose.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/development.toml b/config/development.toml index 8d18e63122f4..5c063acf2f71 100644 --- a/config/development.toml +++ b/config/development.toml @@ -239,9 +239,9 @@ workers = 1 [cors] max_age = 30 -origins = "http://localhost:8080,http://localhost:9000" +# origins = "http://localhost:8080,http://localhost:9000" allowed_methods = "GET,POST,PUT,DELETE" -wildcard_origin = false +wildcard_origin = true [email] sender_email = "example@example.com" diff --git a/config/docker_compose.toml b/config/docker_compose.toml index ceb00ff212e3..0e034f2e1457 100644 --- a/config/docker_compose.toml +++ b/config/docker_compose.toml @@ -84,9 +84,9 @@ max_feed_count = 200 [cors] max_age = 30 -origins = "http://localhost:8080,http://localhost:9000" +# origins = "http://localhost:8080,http://localhost:9000" allowed_methods = "GET,POST,PUT,DELETE" -wildcard_origin = false +wildcard_origin = true [refund] max_attempts = 10