mirror of
https://github.com/fosrl/pangolin.git
synced 2026-04-06 01:11:57 +02: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