Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

refactor(config): allow wildcard origin for development and Docker Compose setups (#4231)

Prajjwal Kumar65874728094b
diff --git a/config/development.toml b/config/development.toml
index 8d18e63122..5c063acf2f 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 = "[email protected]"
diff --git a/config/docker_compose.toml b/config/docker_compose.toml
index ceb00ff212..0e034f2e14 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