Skip to content

Commit

Permalink
add cors for api to ui
Browse files Browse the repository at this point in the history
  • Loading branch information
OriHoch committed Aug 29, 2023
1 parent c278601 commit 6f41b87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/apps/api/templates/api-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6f41b87

Please sign in to comment.