Default to '0.0.0.0' in start-env.js

This commit is contained in:
Paul Walker 2020-10-26 11:03:48 +00:00
parent 000fc30932
commit b432b2c22e

View File

@ -1,3 +1,3 @@
const cli = require('next/dist/cli/next-start');
cli.nextStart(['-p', process.env.PORT || 3000, '-H', process.env.HOSTNAME || 'localhost']);
cli.nextStart(['-p', process.env.PORT || 3000, '-H', process.env.HOSTNAME || '0.0.0.0']);