This commit is contained in:
Your Name
2024-02-16 17:43:02 -06:00
parent 74632d4f51
commit be57e96588
2 changed files with 3 additions and 1 deletions

View File

@@ -10,4 +10,6 @@ cd /data/openpilot/logs
rm -f watcher.log.gz rm -f watcher.log.gz
ls watcher.log && gzip watcher.log ls watcher.log && gzip watcher.log
chmod +x /data/openpilot/shell/watcher_run_loop.sh
screen -dmS "watcher" /data/openpilot/shell/watcher_run_loop.sh screen -dmS "watcher" /data/openpilot/shell/watcher_run_loop.sh

View File

@@ -162,7 +162,7 @@ wss.on('connection', function connection(ws) {
}); });
// Handle upgrade of the request // Handle upgrade of the request
websocket_server.on('upgrade', function upgrade(request, socket, head) { wss.on('upgrade', function upgrade(request, socket, head) {
const { pathname } = url.parse(request.url); const { pathname } = url.parse(request.url);
if (pathname === '/ws') { if (pathname === '/ws') {