umami/scripts/start-env.js
2020-10-02 10:25:31 -07:00

4 lines
142 B
JavaScript

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