websockets babyy

This commit is contained in:
2025-11-25 10:51:59 +01:00
parent d888b47f16
commit 7ec6cdcfa7
2 changed files with 28 additions and 3 deletions

View File

@@ -24,7 +24,12 @@ metadata:
name: kitchenowl
spec:
headers:
accessControlAllowOriginList:
- "*"
accessControlAllowCredentials: true
accessControlAllowHeaders: [ "Authorization","Content-Type" ] # "Accept","Origin"
accessControlAllowMethods: [ "GET","HEAD","OPTIONS" ] # "POST","PUT"
accessControlMaxAge: 100
customRequestHeaders:
X-Forwarded-Proto: "https"
# enable websockets
Connection: keep-alive, Upgrade
Upgrade: "websocket"