提交 0e20aa4e 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

minor fix

上级 bf698aa8
......@@ -33,8 +33,7 @@ bot
.on('login' , e => log.info('Bot', 'bot login.'))
.on('logout' , e => log.info('Bot', 'bot logout.'))
.on('scan', ({url, code}) => {
console.log(`Scan qrcode in url to login: \n${url}`)
console.log(code)
console.log(`[${code}]Scan qrcode in url to login:\n${url}`)
})
.on('message', m => {
co(function* () {
......
......@@ -67,9 +67,9 @@ class Browser {
.set('phantomjs.cli.args', [
'--ignore-ssl-errors=true' // this help socket.io connect with localhost
, '--load-images=false'
, '--remote-debugger-port=9000'
// , '--webdriver-logfile=/tmp/wd.log'
// , '--webdriver-loglevel=DEBUG'
// , '--remote-debugger-port=9000'
])
log.silly('Browser', 'phantomjs binary: ' + phantomjsExe)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册