mirror of
https://github.com/coder/code-server.git
synced 2026-05-05 03:55:18 +02:00
Do not add extra args in toCodeArgs
It should only convert the args that are passed in.
This commit is contained in:
@@ -54,6 +54,10 @@ export const ensureVSCodeLoaded = async (
|
||||
try {
|
||||
vscodeServer = await createVSServer(null, {
|
||||
...(await toCodeArgs(req.args)),
|
||||
"accept-server-license-terms": true,
|
||||
// This seems to be used to make the connection token flags optional (when
|
||||
// set to 1.63) but we have always included them.
|
||||
compatibility: "1.64",
|
||||
"without-connection-token": true,
|
||||
})
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user