wip
This commit is contained in:
@@ -10,4 +10,6 @@ cd /data/openpilot/logs
|
||||
rm -f watcher.log.gz
|
||||
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
|
||||
|
||||
@@ -162,7 +162,7 @@ wss.on('connection', function connection(ws) {
|
||||
});
|
||||
|
||||
// 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);
|
||||
|
||||
if (pathname === '/ws') {
|
||||
|
||||
Reference in New Issue
Block a user