ble-server/app.js
Jay a7f7653efa 修改服務啟動動作與QRCode產生按鈕
1.啟動時連接印表機
2.判斷是否要開啟藍芽
3.畫面加入QRCode產生按鈕,方便APP設定
2017-09-07 23:41:56 +08:00

11 lines
142 B
JavaScript

// set global env
process.env.PROJECT_ROOT = __dirname
require('top-level-await')
try {
require('./server')
} catch (err) {
throw err
}