1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-26 22:13:53 +01:00

Fix: audio path is /audio not /audio/

This commit is contained in:
Mark de Bruijn
2024-02-19 21:05:38 +01:00
parent b87a286b83
commit b6be0a2045
2 changed files with 5 additions and 5 deletions

View File

@@ -446,7 +446,7 @@ httpServer.on('upgrade', (request, socket, head) => {
wss.emit('connection', ws, request);
});
});
} else if (request.url === '/audio/') {
} else if (request.url === '/audio') {
proxy.ws(request, socket, head);
} else {
socket.destroy();