fix(web): do not replace 0.0.0.0 with localhost

This commit is contained in:
Victor Savkin 2019-12-02 16:44:05 -05:00 committed by Victor Savkin
parent fd78f0923c
commit 91e1f4ef8b

View File

@ -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
});