Skip to content

Commit 3e57d2c

Browse files
committed
fixup!: fix part of service-worker patch
1 parent cfb487e commit 3e57d2c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

patches/service-worker.diff

+15
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,18 @@ Index: code-server/lib/vscode/src/vs/workbench/browser/client.ts
5050
+ }
5151
+ }
5252
}
53+
Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
54+
===================================================================
55+
--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts
56+
+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
57+
@@ -319,6 +319,10 @@ export class WebClientServer {
58+
updateEndpoint: !this._environmentService.args['disable-update-check'] ? base + '/update/check' : undefined,
59+
logoutEndpoint: this._environmentService.args['auth'] && this._environmentService.args['auth'] !== "none" ? base + '/logout' : undefined,
60+
proxyEndpointTemplate: process.env.VSCODE_PROXY_URI ?? base + '/proxy/{{port}}',
61+
+ serviceWorker: {
62+
+ scope: vscodeBase + '/',
63+
+ path: base + '/_static/out/browser/serviceWorker.js',
64+
+ },
65+
embedderIdentifier: 'server-distro',
66+
extensionsGallery: this._productService.extensionsGallery,
67+
},

0 commit comments

Comments
 (0)