Skip to content

Commit 02a9509

Browse files
committed
feat: add support for VSCODE_PROXY_URI
1 parent 8acd21f commit 02a9509

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patches/proxy-uri.diff

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
6868
rootEndpoint: base,
6969
updateEndpoint: !this._environmentService.args['disable-update-check'] ? base + '/update/check' : undefined,
7070
logoutEndpoint: this._environmentService.args['auth'] && this._environmentService.args['auth'] !== "none" ? base + '/logout' : undefined,
71-
+ proxyEndpointTemplate: base + '/proxy/{{port}}',
71+
+ proxyEndpointTemplate: process.env.VSCODE_PROXY_URI ?? base + '/proxy/{{port}}',
7272
embedderIdentifier: 'server-distro',
7373
extensionsGallery: this._productService.extensionsGallery,
7474
},

0 commit comments

Comments
 (0)