umami/scripts/start-env.js

9 lines
196 B
JavaScript

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