瀏覽代碼

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:");