mirror of https://github.com/coder/code-server.git
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.
This commit is contained in:
parent
c20b0b390b
commit
e7d29806f8
|
@ -106,7 +106,11 @@ export class CodeServerRouteWrapper {
|
||||||
)
|
)
|
||||||
|
|
||||||
try {
|
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) {
|
} catch (error) {
|
||||||
logError(logger, "CodeServerRouteWrapper", error)
|
logError(logger, "CodeServerRouteWrapper", error)
|
||||||
if (isDevMode) {
|
if (isDevMode) {
|
||||||
|
|
Loading…
Reference in New Issue