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
commit 06b2793392
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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