Merge pull request #335 from arafel/update_start_env

Default to '0.0.0.0' in start-env.js
This commit is contained in:
Mike Cao
2020-10-26 09:03:22 -07:00
committed by GitHub

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']);