Skip to content

Commit

Permalink
Set explicit CORS header
Browse files Browse the repository at this point in the history
  • Loading branch information
aelred committed Oct 30, 2023
1 parent e38df78 commit 6ba90a0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions deploy/manifests/tetris-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ metadata:
namespace: default
annotations:
cert-manager.io/cluster-issuer: letsencrypt
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/cors-allow-origin: https://tetris.ael.red
ingress.kubernetes.io/custom-request-headers: "Access-Control-Allow-Origin: https://tetris.ael.red"
spec:
tls:
- hosts:
Expand Down

0 comments on commit 6ba90a0

Please sign in to comment.