Skip to content

Commit a4ed692

Browse files
committed
chore: refresh patches
1 parent 02a9509 commit a4ed692

File tree

2 files changed

+11
-15
lines changed

2 files changed

+11
-15
lines changed

patches/disable-downloads.diff

+11
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,17 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
8686
_wrapWebWorkerExtHostInIframe,
8787
developmentOptions: {
8888
enableSmokeTestDriver: this._environmentService.args['enable-smoke-test-driver'] ? true : undefined,
89+
@@ -319,6 +320,10 @@ export class WebClientServer {
90+
updateEndpoint: !this._environmentService.args['disable-update-check'] ? base + '/update/check' : undefined,
91+
logoutEndpoint: this._environmentService.args['auth'] && this._environmentService.args['auth'] !== "none" ? base + '/logout' : undefined,
92+
proxyEndpointTemplate: process.env.VSCODE_PROXY_URI ?? base + '/proxy/{{port}}',
93+
+ serviceWorker: {
94+
+ scope: vscodeBase + '/',
95+
+ path: base + '/_static/out/browser/serviceWorker.js',
96+
+ },
97+
embedderIdentifier: 'server-distro',
98+
extensionsGallery: this._productService.extensionsGallery,
99+
},
89100
Index: code-server/lib/vscode/src/vs/workbench/browser/contextkeys.ts
90101
===================================================================
91102
--- code-server.orig/lib/vscode/src/vs/workbench/browser/contextkeys.ts

patches/service-worker.diff

-15
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,6 @@ Index: code-server/lib/vscode/src/vs/base/common/product.ts
1717

1818
readonly version: string;
1919
readonly date?: string;
20-
Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
21-
===================================================================
22-
--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts
23-
+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
24-
@@ -319,6 +319,10 @@ export class WebClientServer {
25-
updateEndpoint: !this._environmentService.args['disable-update-check'] ? base + '/update/check' : undefined,
26-
logoutEndpoint: this._environmentService.args['auth'] && this._environmentService.args['auth'] !== "none" ? base + '/logout' : undefined,
27-
proxyEndpointTemplate: base + '/proxy/{{port}}',
28-
+ serviceWorker: {
29-
+ scope: vscodeBase + '/',
30-
+ path: base + '/_static/out/browser/serviceWorker.js',
31-
+ },
32-
embedderIdentifier: 'server-distro',
33-
extensionsGallery: this._productService.extensionsGallery,
34-
},
3520
Index: code-server/lib/vscode/src/vs/workbench/browser/client.ts
3621
===================================================================
3722
--- code-server.orig/lib/vscode/src/vs/workbench/browser/client.ts

0 commit comments

Comments
 (0)