mirror of
https://github.com/nuxt/nuxt.git
synced 2025-03-09 03:03:18 +00:00
Easy access in LAN
This commit is contained in:
parent
e4e5096ee2
commit
6a197032a1
@ -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(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user