From 179d8e42a44a6d6bf64b8e34d1dbee1e60bcab68 Mon Sep 17 00:00:00 2001 From: augustus Date: Tue, 17 Mar 2026 19:33:55 +0300 Subject: [PATCH] Updated gateway cors --- kilimo-gateway-production.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kilimo-gateway-production.yml b/kilimo-gateway-production.yml index c3ade25..21b70d6 100644 --- a/kilimo-gateway-production.yml +++ b/kilimo-gateway-production.yml @@ -38,6 +38,7 @@ spring: uri: http://localhost:9081 predicates: - Path=/core/** + - Method=GET,POST,PUT,DELETE,OPTIONS filters: - RewritePath=/core/(?.*), /$\{segment} - name: AuthFilter @@ -51,6 +52,7 @@ spring: uri: http://localhost:9082 predicates: - Path=/assistant/** + - Method=GET,POST,PUT,DELETE,OPTIONS filters: - RewritePath=/assistant/(?.*), /$\{segment} - name: AuthFilter