@@ -10,7 +10,7 @@ Index: code-server/lib/vscode/src/vs/base/common/network.ts
10
10
===================================================================
11
11
--- code-server.orig/lib/vscode/src/vs/base/common/network.ts
12
12
+++ code-server/lib/vscode/src/vs/base/common/network.ts
13
- @@ -205 ,7 +205 ,9 @@ class RemoteAuthoritiesImpl {
13
+ @@ -212 ,7 +212 ,9 @@ class RemoteAuthoritiesImpl {
14
14
return URI.from({
15
15
scheme: platform.isWeb ? this._preferredWebSchema : Schemas.vscodeRemoteResource,
16
16
authority: `${host}:${port}`,
@@ -140,11 +140,11 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
140
140
+ const base = relativeRoot(getOriginalUrl(req))
141
141
+ const vscodeBase = relativePath(getOriginalUrl(req))
142
142
+
143
- const productConfiguration = <Partial<IProductConfiguration>> {
143
+ const productConfiguration = {
144
144
codeServerVersion: this._productService.codeServerVersion,
145
145
+ rootEndpoint: base,
146
146
embedderIdentifier: 'server-distro',
147
- extensionsGallery: this._webExtensionResourceUrlTemplate ? {
147
+ extensionsGallery: this._webExtensionResourceUrlTemplate && this._productService.extensionsGallery ? {
148
148
...this._productService.extensionsGallery,
149
149
@@ -343,8 +346,10 @@ export class WebClientServer {
150
150
const values: { [key: string]: string } = {
0 commit comments