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

fix(env): add dashboard origin in toml file (#3662)

Pritish Budhirajacbd40390b874
diff --git a/config/development.toml b/config/development.toml
index ad5944c34c..3a3540da5b 100644
--- a/config/development.toml
+++ b/config/development.toml
@@ -235,7 +235,7 @@ workers = 1
[cors]
max_age = 30
-origins = "http://localhost:8080"
+origins = "http://localhost:8080,http://localhost:9000"
allowed_methods = "GET,POST,PUT,DELETE"
wildcard_origin = false
diff --git a/config/docker_compose.toml b/config/docker_compose.toml
index 4f1f34d1be..9728497aaf 100644
--- a/config/docker_compose.toml
+++ b/config/docker_compose.toml
@@ -83,7 +83,7 @@ max_feed_count = 200
[cors]
max_age = 30
-origins = "http://localhost:8080"
+origins = "http://localhost:8080,http://localhost:9000"
allowed_methods = "GET,POST,PUT,DELETE"
wildcard_origin = false