Skip to content

Commit dabd022

Browse files
authored
Use single bracket pair for proxy url template (#39)
I used two because it matches VS Code's own URL templates but at least one extension already implemented the use of VSCODE_PROXY_URI under the assumption it contains a single bracket pair so doing this would break existing instances with that extension installed.
1 parent d4c3c65 commit dabd022

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/server/webClientServer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ export class WebClientServer {
320320
// Endpoints
321321
base,
322322
logoutEndpointUrl: base + '/logout',
323-
proxyEndpointUrlTemplate: base + '/proxy/{{port}}',
323+
proxyEndpointUrlTemplate: base + '/proxy/{port}',
324324
webEndpointUrl: vscodeBase + '/static',
325325
webEndpointUrlTemplate: vscodeBase + '/static',
326326
webviewContentExternalBaseUrlTemplate: vscodeBase + '/webview/{{uuid}}/',

0 commit comments

Comments
 (0)