mirror of
https://github.com/cdr/code-server.git
synced 2025-12-08 01:12:40 +01:00
- Move the old data directory if possible. - Fix extension path to not use a hard-coded path and instead use the data directory. - Create every part of the path during startup. - Create each path when a connection is made as well in case they are deleted while the server is running. - Create every part of the path before saving settings or writing a file using the resource endpoint. |
||
|---|---|---|
| .. | ||
| scripts | ||
| src | ||
| .gitignore | ||
| package.json | ||
| README.md | ||
| webpack.config.js | ||
| yarn.lock | ||
server
Endpoints
/tunnel/<port>
Tunnels a TCP connection over WebSockets. Implemented for proxying connections from a remote machine locally.
/ports
Watches for open ports. Implemented for tunneling ports on the remote server.
/resource/<url>
Reads files on GET. Writes files on POST.