Skip to content

Commit 4283cdb

Browse files
committed
montmedy
1 parent 09887e9 commit 4283cdb

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

index.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@
5252
<!--SocketIO-->
5353
<script src="node_modules/socket.io/client-dist/socket.io.js"></script>
5454
<script>
55-
var socket = io('http://195.221.173.169:9070');
55+
// var socket = io('http://195.221.173.169:9070');
56+
var socket = io('http://195.221.175.11:9070');
57+
5658
</script>
5759

5860
</head>

src/serveur.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ io.on('connection', socket => {
6969
}
7070

7171
const { exec } = require("child_process");
72-
exec(`python ${progPath}convert_band_data_socket.py`, (error, stdout, stderr) => {
73-
console.log(`python ${progPath}convert_band_data_socket.py`);
72+
exec(`python3 ${progPath}convert_band_data_socket.py`, (error, stdout, stderr) => {
73+
console.log(`python3 ${progPath}convert_band_data_socket.py`);
7474
if (error) {
7575
console.error(`exec error: ${error}`);
7676
}

0 commit comments

Comments
 (0)