ソースを参照

change request to IP address and remove authentication

bernn 2 年 前
コミット
e07296a7da
1 ファイル変更0 行追加2 行削除
  1. 0 2
      hidLabel.js

+ 0 - 2
hidLabel.js

@@ -222,8 +222,6 @@ function labelPrint(lotid){
 		return;
 	}
 	
-	requestOptions.path="/ShopLabel.php?MLOT="+lotid+"&who="+whoami+"&ship=1";
-	console.log(requestOptions);
 	request.get("http://192.168.10.26/ShopLabel.php?MLOT="+lotid+"&who="+whoami+"&ship=1", function (error, response, body) {
             if (!error && response.statusCode == 200) {
 		    console.log("Here comes the web response:");