ソースを参照

update client directories and addresses

bernn 2 年 前
コミット
c610121f96
3 ファイル変更4 行追加4 行削除
  1. 1 1
      ICGLabelClient.js
  2. 2 2
      ICGLabelClient.service
  3. 1 1
      whoami

+ 1 - 1
ICGLabelClient.js

@@ -16,7 +16,7 @@ try{
 var ws;
 
 var wsConnect = function(){
-  ws =  new WebSocket('ws://10.10.10.2:8080/');
+  ws =  new WebSocket('ws://192.168.10.26:8080/');
   ws.on('open', function open() {
       console.log("connected");
   })

+ 2 - 2
ICGLabelClient.service

@@ -1,6 +1,6 @@
 [Service]
-    WorkingDirectory=/home/pi
-    ExecStart=/usr/bin/node /home/pi/ICGLabelClient.js
+    WorkingDirectory=/home/pi/ICGLabelServer
+    ExecStart=/usr/bin/node /home/pi/ICGLabelServer/ICGLabelClient.js
     Restart=always
     RestartSec=10
     StandardOutput=syslog

+ 1 - 1
whoami

@@ -1 +1 @@
-{"Name":"QA"}
+{"Name":"Bernn"}