devtools.js 240 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 const fs = require('fs'); let devHost = '127.0.0.1'; try { let buf = fs.readFileSync('.devhost'); devHost = JSON.parse(buf.toString()).host; } catch (e) {} //eslint-disable-line module.exports = { devHost, port: 5001 };