From 6f41b8784127d3fc8306e8a6fb7011d80a451ffd Mon Sep 17 00:00:00 2001 From: Ori Hoch Date: Tue, 29 Aug 2023 12:38:36 +0300 Subject: [PATCH] add cors for api to ui --- infra/apps/api/templates/api-ingress.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/apps/api/templates/api-ingress.yaml b/infra/apps/api/templates/api-ingress.yaml index fa0e573..40d3f15 100644 --- a/infra/apps/api/templates/api-ingress.yaml +++ b/infra/apps/api/templates/api-ingress.yaml @@ -10,7 +10,7 @@ metadata: nginx.ingress.kubernetes.io/proxy-body-size: "500m" nginx.ingress.kubernetes.io/enable-cors: "true" nginx.ingress.kubernetes.io/cors-allow-credentials: "true" - nginx.ingress.kubernetes.io/cors-allow-origin: "http://localhost:4200" + nginx.ingress.kubernetes.io/cors-allow-origin: "http://localhost:4200,https://ckangpt-ui.uumpa.xyz" spec: tls: - hosts: