mirror of
https://github.com/coder/code-server.git
synced 2025-09-21 16:29:17 +08:00
Add health websocket
This is used by some of our services.
This commit is contained in:
@ -133,6 +133,7 @@ export const register = async (
|
||||
wsApp.use("/vscode", vscode.wsRouter.router)
|
||||
|
||||
app.use("/healthz", health.router)
|
||||
wsApp.use("/healthz", health.wsRouter.router)
|
||||
|
||||
if (args.auth === AuthType.Password) {
|
||||
app.use("/login", login.router)
|
||||
|
Reference in New Issue
Block a user