Skip to content

Commit e9414a1

Browse files
committed
fix: fix the routes definition
1 parent e5b28c2 commit e9414a1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

deployment/helm/datamate/charts/frontend/templates/configmap.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ data:
1717
add_header Set-Cookie "NEXT_LOCALE=zh";
1818
1919
location /api/ {
20-
proxy_pass http://datamate-backend:8080/api/;
20+
proxy_pass http://datamate-gateway:8080/api/;
2121
proxy_set_header Host $host;
2222
proxy_set_header X-Real-IP $remote_addr;
2323
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@@ -71,7 +71,7 @@ data:
7171
client_max_body_size 1024M;
7272
7373
location /api/ {
74-
proxy_pass http://datamate-backend:8080/api/;
74+
proxy_pass http://datamate-gateway:8080/api/;
7575
proxy_set_header Host $host;
7676
proxy_set_header X-Real-IP $remote_addr;
7777
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

0 commit comments

Comments
 (0)