Merge pull request #2813 from mho22/patch-1

Update `start-env` with new NextStartOptions
This commit is contained in:
Mike Cao
2024-06-27 20:03:00 -07:00
committed by GitHub

View File

@@ -2,7 +2,6 @@ require('dotenv').config();
const cli = require('next/dist/cli/next-start'); const cli = require('next/dist/cli/next-start');
cli.nextStart({ cli.nextStart({
'--port': process.env.PORT || 3000, 'port': process.env.PORT || 3000,
'--hostname': process.env.HOSTNAME || '0.0.0.0', 'hostname': process.env.HOSTNAME || '0.0.0.0'
_: [],
}); });