fix(web): do not replace 0.0.0.0 with localhost
This commit is contained in:
parent
fd78f0923c
commit
91e1f4ef8b
@ -76,8 +76,7 @@ function run(
|
||||
const path = buildServePath(options);
|
||||
const serverUrl = url.format({
|
||||
protocol: serveOptions.ssl ? 'https' : 'http',
|
||||
hostname:
|
||||
serveOptions.host === '0.0.0.0' ? 'localhost' : serveOptions.host,
|
||||
hostname: serveOptions.host,
|
||||
port: serveOptions.port.toString(),
|
||||
path: path
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user