Skip to content

Commit 2d4df42

Browse files
Andrew Farriesroboquat
Andrew Farries
authored andcommitted
Add cors_origin directive to backend_wss
1 parent a845eb1 commit 2d4df42

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

components/proxy/conf/Caddyfile

+4
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,10 @@ https://{$GITPOD_DOMAIN} {
208208
path /api/gitpod /api/v1
209209
}
210210
handle @backend_wss {
211+
gitpod.cors_origin {
212+
base_domain {$GITPOD_DOMAIN}
213+
}
214+
211215
gitpod.sec_websocket_key
212216

213217
forward_auth server.{$KUBE_NAMESPACE}.{$KUBE_DOMAIN}:3000 {

0 commit comments

Comments
 (0)