From 8441302446b99d309ffcaf565d200b0fa216ed2e Mon Sep 17 00:00:00 2001 From: augustus Date: Tue, 17 Mar 2026 19:47:24 +0300 Subject: [PATCH] Updated gateway cors --- kilimo-gateway-localhost.yml | 4 ++-- kilimo-gateway-production.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kilimo-gateway-localhost.yml b/kilimo-gateway-localhost.yml index 21b70d6..959fe31 100644 --- a/kilimo-gateway-localhost.yml +++ b/kilimo-gateway-localhost.yml @@ -40,7 +40,7 @@ spring: - Path=/core/** - Method=GET,POST,PUT,DELETE,OPTIONS filters: - - RewritePath=/core/(?.*), /$\{segment} + - RewritePath=/core/(?.*), /${segment} - name: AuthFilter - name: RequestRateLimiter args: @@ -54,7 +54,7 @@ spring: - Path=/assistant/** - Method=GET,POST,PUT,DELETE,OPTIONS filters: - - RewritePath=/assistant/(?.*), /$\{segment} + - RewritePath=/assistant/(?.*), /${segment} - name: AuthFilter - name: RequestRateLimiter args: diff --git a/kilimo-gateway-production.yml b/kilimo-gateway-production.yml index 21b70d6..959fe31 100644 --- a/kilimo-gateway-production.yml +++ b/kilimo-gateway-production.yml @@ -40,7 +40,7 @@ spring: - Path=/core/** - Method=GET,POST,PUT,DELETE,OPTIONS filters: - - RewritePath=/core/(?.*), /$\{segment} + - RewritePath=/core/(?.*), /${segment} - name: AuthFilter - name: RequestRateLimiter args: @@ -54,7 +54,7 @@ spring: - Path=/assistant/** - Method=GET,POST,PUT,DELETE,OPTIONS filters: - - RewritePath=/assistant/(?.*), /$\{segment} + - RewritePath=/assistant/(?.*), /${segment} - name: AuthFilter - name: RequestRateLimiter args: