Updated gateway cors

This commit is contained in:
2026-03-17 17:10:44 +03:00
parent 89db5cadd8
commit 338ab9aaf2
+2 -2
View File
@@ -16,7 +16,7 @@ spring:
cloud: cloud:
gateway: gateway:
server: server:
webflux: # CRITICAL: Modern properties live under this node webflux:
routes: routes:
# --- Core Service Route --- # --- Core Service Route ---
- id: kilimo_core_service - id: kilimo_core_service
@@ -50,8 +50,8 @@ spring:
'[/**]': '[/**]':
allowedOrigins: allowedOrigins:
- "http://localhost:3000" - "http://localhost:3000"
- "http://127.0.0.1:3000"
- "https://vm-qpse3mho5qps7fj2kw0hzy.vusercontent.net" - "https://vm-qpse3mho5qps7fj2kw0hzy.vusercontent.net"
- "https://vm-qpse3mho5qps7fj2kw0hzy.vusercontent.net/"
- "https://www.kilimo.farm" - "https://www.kilimo.farm"
- "https://kilimo.farm" - "https://kilimo.farm"
allowedMethods: allowedMethods: