File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
4444 codeServerVersion: this._productService.codeServerVersion,
4545 rootEndpoint: base,
4646 updateEndpoint: !this._environmentService.args['disable-update-check'] ? base + '/update/check' : undefined,
47- + logoutEndpoint: this._environmentService.args['auth'] ? base + '/logout' : undefined,
47+ + logoutEndpoint: this._environmentService.args['auth'] && this._environmentService.args['auth'] !== "none" ? base + '/logout' : undefined,
4848 embedderIdentifier: 'server-distro',
4949 extensionsGallery: this._productService.extensionsGallery,
5050 },
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
7171@@ -310,6 +310,7 @@ export class WebClientServer {
7272 rootEndpoint: base,
7373 updateEndpoint: !this._environmentService.args['disable-update-check'] ? base + '/update/check' : undefined,
74- logoutEndpoint: this._environmentService.args['auth'] ? base + '/logout' : undefined,
74+ logoutEndpoint: this._environmentService.args['auth'] && this._environmentService.args['auth'] !== "none" ? base + '/logout' : undefined,
7575+ proxyEndpointTemplate: base + '/proxy/{{port}}',
7676 embedderIdentifier: 'server-distro',
7777 extensionsGallery: this._productService.extensionsGallery,
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
2323+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
2424@@ -315,6 +315,10 @@ export class WebClientServer {
2525 updateEndpoint: !this._environmentService.args['disable-update-check'] ? base + '/update/check' : undefined,
26- logoutEndpoint: this._environmentService.args['auth'] ? base + '/logout' : undefined,
26+ logoutEndpoint: this._environmentService.args['auth'] && this._environmentService.args['auth'] !== "none" ? base + '/logout' : undefined,
2727 proxyEndpointTemplate: base + '/proxy/{{port}}',
2828+ serviceWorker: {
2929+ scope: vscodeBase + '/',
You can’t perform that action at this time.
0 commit comments