mirror of https://git.tuxpa.in/a/code-server.git
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 | ||
README.md | ||
package.json | ||
webpack.config.js | ||
yarn.lock |
README.md
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.