Skip to content

Commit

Permalink
Remove cors rule
Browse files Browse the repository at this point in the history
  • Loading branch information
aelred committed Nov 1, 2023
1 parent cc32d29 commit 74a463a
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions deploy/manifests/tetris-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ metadata:
namespace: default
annotations:
cert-manager.io/cluster-issuer: letsencrypt
traefik.ingress.kubernetes.io/middleware: tetris-server-cors
spec:
tls:
- hosts:
Expand All @@ -71,19 +70,6 @@ spec:
port:
number: 8000
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: tetris-server-cors
namespace: default
spec:
headers:
accessControlAllowMethods: ["*"]
accessControlAllowHeaders: ["*"]
accessControlAllowOrigin: ["https://tetris.ael.red"]
accessControlMaxAge: 100
addVaryHeader: true
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
Expand Down

0 comments on commit 74a463a

Please sign in to comment.