mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-08 05:56:38 +00:00
Move websocket
This commit is contained in:
@@ -37,7 +37,7 @@ export function createApiServer() {
|
||||
apiServer.use(prefix, authenticated);
|
||||
|
||||
// WebSocket routes
|
||||
apiServer.use(`/ws`, wsRouter);
|
||||
apiServer.use(prefix, wsRouter);
|
||||
|
||||
// Error handling
|
||||
apiServer.use(notFoundMiddleware);
|
||||
|
||||
Reference in New Issue
Block a user