code-server/src/node/routes
Joe Previte 78658f1cf4
refactor: remove folder/workspace from vsCodeCliArgs (#4932)
* refactor: remove folder/workspace from vsCodeCliArgs

Since we handle this in the vscode.ts route, we no longer need to pass it to VS
Code as a CLI arg since it's deprecated on that side.

* feat(vscode): redirect to folder from cli

* Update src/node/routes/vscode.ts

Co-authored-by: Asher <ash@coder.com>

* fixup!: update _: type

* fixup!: move vars to lower if block

* fixup!: share redirect block

* fixup!: mmove req.query.ew block into if

* fixup!: refactor vscode tests

* refactor: make vscode.ts logic easier to read

* fixup!: fix broken tests and clean up logic

* chore: upgrade vscode version

* fixup!: delete unnecessary if closed block

* Update src/node/routes/vscode.ts

Co-authored-by: Asher <ash@coder.com>

* fixup!: rename to FOLDER_OR_WORKSPACE_WAS_CLOSED

Co-authored-by: Asher <ash@coder.com>
2022-03-02 15:36:38 -07:00
..
apps.ts plugin: Fixes for CI 2020-11-06 10:13:01 -05:00
domainProxy.ts Implement last opened functionality (#4633) 2021-12-17 13:06:52 -06:00
errors.ts Fix issue where 404 errors are mistaken for server errors. (#4534) 2021-11-19 18:14:13 -05:00
health.ts Fix health socket not getting client messages 2021-02-16 15:01:46 -06:00
index.ts Implement last opened functionality (#4633) 2021-12-17 13:06:52 -06:00
login.ts Fix relative paths (#4594) 2021-12-08 15:52:15 -06:00
logout.ts Fix relative paths (#4594) 2021-12-08 15:52:15 -06:00
pathProxy.ts Implement last opened functionality (#4633) 2021-12-17 13:06:52 -06:00
update.ts Implement last opened functionality (#4633) 2021-12-17 13:06:52 -06:00
vscode.ts refactor: remove folder/workspace from vsCodeCliArgs (#4932) 2022-03-02 15:36:38 -07:00