File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11const mqtt = require ( 'mqtt' )
22const getImagePath = require ( './lib/get_image_path' )
33const getTranslateText = require ( './lib/translate' )
4- const googleVision = require ( 'node-cloud-vision-api' )
54const conf = require ( './config.json' )
65const analyseImage = require ( './lib/analyse_image' )
76
87const client = mqtt . connect (
98 'ws://std1.mqtt.shiguredo.jp/mqtt' , {
10- username : 'sh8@github' ,
11- password : process . env . SANGO_PASSWORD
9+ username : conf . sango_user ,
10+ password : conf . sango_password
1211 }
1312)
1413
Original file line number Diff line number Diff line change 1717 "log" : " ^1.4.0" ,
1818 "lru-cache" : " ^4.0.1" ,
1919 "morgan" : " ^1.7.0" ,
20+ "mqtt" : " ^2.4.0" ,
2021 "multer" : " ^1.2.0" ,
2122 "node-cloud-vision-api" : " ^0.2.0" ,
2223 "node-uuid" : " ^1.4.7" ,
You can’t perform that action at this time.
0 commit comments