Commit 982f1dd4 authored by Jérome Perrin's avatar Jérome Perrin

software/theia: fix "Upload Files..."

Upload files feature uses a websocket at /file-upload , so configure frontends
to allow web sockets on this path.
parent c9e9e2f6
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
[instance] [instance]
filename = instance.cfg.in filename = instance.cfg.in
md5sum = 211601e6fe818ab60c8454549f5fcb71 md5sum = 1e843b325e5578a7344e00db5168d4ba
[yarn.lock] [yarn.lock]
filename = yarn.lock filename = yarn.lock
......
...@@ -59,6 +59,9 @@ template = inline: ...@@ -59,6 +59,9 @@ template = inline:
proxy /services $${theia-instance:base-url} { proxy /services $${theia-instance:base-url} {
websocket websocket
} }
proxy /file-upload $${theia-instance:base-url} {
websocket
}
basicauth $${frontend-instance-password:username} $${frontend-instance-password:passwd} { basicauth $${frontend-instance-password:username} $${frontend-instance-password:passwd} {
realm "Theia" realm "Theia"
/ /
...@@ -273,7 +276,7 @@ slave = true ...@@ -273,7 +276,7 @@ slave = true
config-url = $${frontend-instance:url} config-url = $${frontend-instance:url}
config-https-only = true config-https-only = true
config-type = websocket config-type = websocket
config-websocket-path-list = /services config-websocket-path-list = /services /file-upload
return = domain secure_access return = domain secure_access
[publish-connection-parameter] [publish-connection-parameter]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment