umami/scripts/start-env.js

5 lines
168 B
JavaScript
Raw Normal View History

2022-06-27 19:34:03 +02:00
require('dotenv').config();
const cli = require('next/dist/cli/next-start');
2020-10-26 12:03:48 +01:00
cli.nextStart(['-p', process.env.PORT || 3000, '-H', process.env.HOSTNAME || '0.0.0.0']);