mirror of
https://github.com/coder/code-server.git
synced 2025-08-01 19:30:05 +08:00
Accept argument to change initial working directory
This commit is contained in:
@ -127,6 +127,9 @@ const main = async (): Promise<void> => {
|
||||
certKey: args["cert-key"],
|
||||
auth: typeof args.auth !== "undefined" ? args.auth : true,
|
||||
password: process.env.PASSWORD,
|
||||
folderUri: args["_"] && args["_"].length > 1
|
||||
? args["_"][args["_"].length - 1]
|
||||
: undefined,
|
||||
};
|
||||
|
||||
if (!options.host) {
|
||||
|
Reference in New Issue
Block a user