fixed bug

This commit is contained in:
chenjianan
2019-05-23 13:33:07 +08:00
parent 7644e3f591
commit 07093aa4f4
5 changed files with 38 additions and 24 deletions

View File

@@ -7,8 +7,8 @@ const os = require('os')
const networkInterfaces = os.networkInterfaces()
// const ip = networkInterfaces['WLAN'][1] ? networkInterfaces['WLAN'][1].address : networkInterfaces['WLAN'][0].address
const ip = '127.0.0.1'
const ip = networkInterfaces['WLAN'][1] ? networkInterfaces['WLAN'][1].address : networkInterfaces['WLAN'][0].address
// const ip = '127.0.0.1'
module.exports = {
dev: {
// Paths