File tree 7 files changed +11
-11
lines changed
7 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -185,10 +185,10 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
185
185
settingsSyncOptions: !this._environmentService.isBuilt && this._environmentService.args['enable-sync'] ? { enabled: true } : undefined,
186
186
productConfiguration: <Partial<IProductConfiguration>>{
187
187
+ rootEndpoint: base,
188
+ codeServerVersion: this._productService.codeServerVersion,
188
189
embedderIdentifier: 'server-distro',
189
190
extensionsGallery: this._webExtensionResourceUrlTemplate ? {
190
- ...this._productService.extensionsGallery,
191
- @@ -290,7 +296,9 @@ export class WebClientServer {
191
+ @@ -291,7 +297,9 @@ export class WebClientServer {
192
192
} : undefined
193
193
}
194
194
})))
@@ -199,7 +199,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
199
199
200
200
const cspDirectives = [
201
201
'default-src \'self\';',
202
- @@ -369 ,3 +377 ,70 @@ export class WebClientServer {
202
+ @@ -370 ,3 +378 ,70 @@ export class WebClientServer {
203
203
return res.end(data);
204
204
}
205
205
}
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
185
185
const data = (await util.promisify(fs.readFile)(filePath)).toString()
186
186
.replace('{{WORKBENCH_WEB_CONFIGURATION}}', escapeAttribute(JSON.stringify({
187
187
remoteAuthority,
188
- @@ -302 ,7 +305 ,8 @@ export class WebClientServer {
188
+ @@ -303 ,7 +306 ,8 @@ export class WebClientServer {
189
189
})))
190
190
.replace('{{WORKBENCH_AUTH_SESSION}}', () => authSessionInfo ? escapeAttribute(JSON.stringify(authSessionInfo)) : '')
191
191
.replace(/{{BASE}}/g, base)
Original file line number Diff line number Diff line change @@ -45,9 +45,9 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
45
45
rootEndpoint: base,
46
46
updateEndpoint: !this._environmentService.args['disable-update-check'] ? base + '/update/check' : undefined,
47
47
+ logoutEndpoint: this._environmentService.args['auth'] ? base + '/logout' : undefined,
48
+ codeServerVersion: this._productService.codeServerVersion,
48
49
embedderIdentifier: 'server-distro',
49
50
extensionsGallery: {
50
- ...this._productService.extensionsGallery,
51
51
Index: code-server/lib/vscode/src/vs/workbench/browser/client.ts
52
52
===================================================================
53
53
--- code-server.orig/lib/vscode/src/vs/workbench/browser/client.ts
Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
32
32
===================================================================
33
33
--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts
34
34
+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
35
- @@ -286,14 +286,14 @@ export class WebClientServer {
36
- productConfiguration: <Partial<IProductConfiguration>>{
35
+ @@ -287,14 +287,14 @@ export class WebClientServer {
37
36
rootEndpoint: base,
37
+ codeServerVersion: this._productService.codeServerVersion,
38
38
embedderIdentifier: 'server-distro',
39
39
- extensionsGallery: this._webExtensionResourceUrlTemplate ? {
40
40
+ extensionsGallery: {
Original file line number Diff line number Diff line change @@ -73,9 +73,9 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
73
73
updateEndpoint: !this._environmentService.args['disable-update-check'] ? base + '/update/check' : undefined,
74
74
logoutEndpoint: this._environmentService.args['auth'] ? base + '/logout' : undefined,
75
75
+ proxyEndpointTemplate: base + '/proxy/{{port}}',
76
+ codeServerVersion: this._productService.codeServerVersion,
76
77
embedderIdentifier: 'server-distro',
77
78
extensionsGallery: {
78
- ...this._productService.extensionsGallery,
79
79
Index: code-server/lib/vscode/src/vs/workbench/browser/web.main.ts
80
80
===================================================================
81
81
--- code-server.orig/lib/vscode/src/vs/workbench/browser/web.main.ts
Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
21
21
===================================================================
22
22
--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts
23
23
+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
24
- @@ -297,6 +297,10 @@ export class WebClientServer {
25
- logoutEndpoint: this._environmentService.args['auth'] ? base + '/logout' : undefined,
24
+ @@ -298,6 +298,10 @@ export class WebClientServer {
26
25
proxyEndpointTemplate: base + '/proxy/{{port}}',
26
+ codeServerVersion: this._productService.codeServerVersion,
27
27
embedderIdentifier: 'server-distro',
28
28
+ serviceWorker: {
29
29
+ scope: vscodeBase + '/',
Original file line number Diff line number Diff line change @@ -105,9 +105,9 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
105
105
productConfiguration: <Partial<IProductConfiguration>>{
106
106
rootEndpoint: base,
107
107
+ updateEndpoint: !this._environmentService.args['disable-update-check'] ? base + '/update/check' : undefined,
108
+ codeServerVersion: this._productService.codeServerVersion,
108
109
embedderIdentifier: 'server-distro',
109
110
extensionsGallery: {
110
- ...this._productService.extensionsGallery,
111
111
Index: code-server/lib/vscode/src/vs/server/node/serverEnvironmentService.ts
112
112
===================================================================
113
113
--- code-server.orig/lib/vscode/src/vs/server/node/serverEnvironmentService.ts
You can’t perform that action at this time.
0 commit comments