From d419eec3ec04803d8d8a84418aebd541499cf8dc Mon Sep 17 00:00:00 2001 From: hefanli <76611805+hefanli@users.noreply.github.com> Date: Mon, 22 Dec 2025 16:04:49 +0800 Subject: [PATCH] fix: fix the routes definition (#189) --- .../helm/datamate/charts/frontend/templates/configmap.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment/helm/datamate/charts/frontend/templates/configmap.yaml b/deployment/helm/datamate/charts/frontend/templates/configmap.yaml index 457e388..c629834 100644 --- a/deployment/helm/datamate/charts/frontend/templates/configmap.yaml +++ b/deployment/helm/datamate/charts/frontend/templates/configmap.yaml @@ -17,7 +17,7 @@ data: add_header Set-Cookie "NEXT_LOCALE=zh"; location /api/ { - proxy_pass http://datamate-backend:8080/api/; + proxy_pass http://datamate-gateway:8080/api/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; @@ -71,7 +71,7 @@ data: client_max_body_size 1024M; location /api/ { - proxy_pass http://datamate-backend:8080/api/; + proxy_pass http://datamate-gateway:8080/api/; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;