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 authored and GitHub committed 2020-10-26 09:03:22 -07:00
commit 06b2793392
1 file changed
+1 -1
+1 -1
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']);