mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-30 22:18:44 +00:00
e597d49912
- 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.