mirror of
https://github.com/coder/code-server.git
synced 2025-08-02 14:02:51 +08:00
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:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user