Skip to content

Commit 3efa8bc

Browse files
committed
Remove download workspace endpoint
1 parent 3e99adb commit 3efa8bc

File tree

7 files changed

+0
-1474
lines changed

7 files changed

+0
-1474
lines changed

components/proxy/conf/Caddyfile

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -167,23 +167,6 @@ https://{$GITPOD_DOMAIN} {
167167
import ssl_configuration
168168
import security_headers
169169

170-
@workspace_download path /workspace-download*
171-
handle @workspace_download {
172-
import google_storage_headers
173-
174-
header {
175-
# The browser needs to see the correct archive content type to trigger the download.
176-
content-type "application/tar+gzip"
177-
}
178-
179-
gitpod.workspace_download {
180-
service http://server.{$KUBE_NAMESPACE}.{$KUBE_DOMAIN}:3000
181-
}
182-
183-
# redirect works here because we "navigate" to this URL, which makes the browser handle this as primary request, and not fuff around with CORS at all
184-
redir {http.gitpod.workspace_download_url} 303
185-
}
186-
187170
@headless_log_download path /headless-log-download*
188171
handle @headless_log_download {
189172
header {

components/proxy/plugins/workspacedownload/go.mod

Lines changed: 0 additions & 112 deletions
This file was deleted.

0 commit comments

Comments
 (0)