From e7d29806f8c8f17e9cbdb409d9cfac6631bc8f5a Mon Sep 17 00:00:00 2001 From: Asher Date: Thu, 27 Jan 2022 21:28:22 +0000 Subject: [PATCH] Disable BROWSER env var Right now the browser helper script does not actually work. It seems safer to skip this until we can fix it. --- src/node/routes/vscode.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/node/routes/vscode.ts b/src/node/routes/vscode.ts index 963fe660..4b1d16a4 100644 --- a/src/node/routes/vscode.ts +++ b/src/node/routes/vscode.ts @@ -106,7 +106,11 @@ export class CodeServerRouteWrapper { ) try { - this._codeServerMain = await createVSServer(null, await toVsCodeArgs(args)) + this._codeServerMain = await createVSServer(null, { + ...(await toVsCodeArgs(args)), + // TODO: Make the browser helper script work. + "without-browser-env-var": true, + }) } catch (error) { logError(logger, "CodeServerRouteWrapper", error) if (isDevMode) {