Easy access in LAN

This commit is contained in:
zhou wei 2017-06-09 09:47:30 +08:00 committed by GitHub
parent e4e5096ee2
commit 6a197032a1

View File

@ -46,7 +46,7 @@ class Server {
}
listen (port, host) {
host = host || '127.0.0.1'
host = host || '0.0.0.0'
port = port || 3000
this.nuxt.ready()
.then(() => {