File tree 3 files changed +3
-3
lines changed
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
44
44
codeServerVersion: this._productService.codeServerVersion,
45
45
rootEndpoint: base,
46
46
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,
48
48
embedderIdentifier: 'server-distro',
49
49
extensionsGallery: this._productService.extensionsGallery,
50
50
},
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
71
71
@@ -310,6 +310,7 @@ export class WebClientServer {
72
72
rootEndpoint: base,
73
73
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,
75
75
+ proxyEndpointTemplate: base + '/proxy/{{port}}',
76
76
embedderIdentifier: 'server-distro',
77
77
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
23
23
+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
24
24
@@ -315,6 +315,10 @@ export class WebClientServer {
25
25
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,
27
27
proxyEndpointTemplate: base + '/proxy/{{port}}',
28
28
+ serviceWorker: {
29
29
+ scope: vscodeBase + '/',
You can’t perform that action at this time.
0 commit comments