1
0
mirror of https://github.com/coder/code-server.git synced 2024-12-05 07:13:06 +08:00
code-server/packages/server
Asher e597d49912
Fix issues with configuration directories
- 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.
2019-03-12 11:44:56 -05:00
..
scripts Add task for packaging release (#6) 2019-03-06 18:15:52 -06:00
src Fix issues with configuration directories 2019-03-12 11:44:56 -05:00
.gitignore Add constants file 2019-02-07 13:11:01 -06:00
package.json Use a timing-safe equality check for passwords (#133) 2019-03-09 09:24:36 -08:00
README.md Featureful (#31) 2019-02-21 11:55:42 -06:00
webpack.config.js Add task for packaging release (#6) 2019-03-06 18:15:52 -06:00
yarn.lock Use a timing-safe equality check for passwords (#133) 2019-03-09 09:24:36 -08:00

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.