umami/scripts/start-env.js

9 lines
196 B
JavaScript
Raw Permalink Normal View History

2022-06-27 19:34:03 +02:00
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',
_: [],
});