umami/scripts/start-env.js
2022-06-27 10:34:03 -07:00

5 lines
168 B
JavaScript

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