umami/scripts/start-env.js
2020-10-26 11:03:48 +00:00

4 lines
140 B
JavaScript

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