@@ -813,7 +813,7 @@ new file mode 100644
813
813
index 0000000000000000000000000000000000000000..ead6a3cd5e98fdde074f19ee5043f152ed407146
814
814
--- /dev/null
815
815
+++ b/src/vs/server/browser/client.ts
816
- @@ -0,0 +1,240 @@
816
+ @@ -0,0 +1,239 @@
817
817
+ import { Emitter } from 'vs/base/common/event';
818
818
+ import { URI } from 'vs/base/common/uri';
819
819
+ import { localize } from 'vs/nls';
@@ -967,8 +967,7 @@ index 0000000000000000000000000000000000000000..ead6a3cd5e98fdde074f19ee5043f152
967
967
+
968
968
+ const logService = (services.get(ILogService) as ILogService);
969
969
+ const storageService = (services.get(IStorageService) as IStorageService);
970
- + // We set this here first in case the path changes.
971
- + const updateCheckEndpoint = path.join(window.location.pathname, '/update/check');
970
+ + const updateCheckEndpoint = path.join(options.base, "/update/check")
972
971
+ const getUpdate = async (): Promise<void> => {
973
972
+ logService.debug('Checking for update...');
974
973
+
@@ -1449,13 +1448,14 @@ new file mode 100644
1449
1448
index 0000000000000000000000000000000000000000..0a4a91e5e36bda7f888feedda348aaff5fe32d27
1450
1449
--- /dev/null
1451
1450
+++ b/src/vs/server/ipc.d.ts
1452
- @@ -0,0 +1,131 @@
1451
+ @@ -0,0 +1,132 @@
1453
1452
+ /**
1454
1453
+ * External interfaces for integration into code-server over IPC. No vs imports
1455
1454
+ * should be made in this file.
1456
1455
+ */
1457
1456
+ export interface Options {
1458
1457
+ disableTelemetry: boolean
1458
+ + base: string
1459
1459
+ }
1460
1460
+
1461
1461
+ export interface InitMessage {
0 commit comments