mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-01 12:29:35 +01:00
Merge pull request #2813 from mho22/patch-1
Update `start-env` with new NextStartOptions
This commit is contained in:
commit
6a7dac3aad
@ -2,7 +2,6 @@ require('dotenv').config();
|
|||||||
const cli = require('next/dist/cli/next-start');
|
const cli = require('next/dist/cli/next-start');
|
||||||
|
|
||||||
cli.nextStart({
|
cli.nextStart({
|
||||||
'--port': process.env.PORT || 3000,
|
'port': process.env.PORT || 3000,
|
||||||
'--hostname': process.env.HOSTNAME || '0.0.0.0',
|
'hostname': process.env.HOSTNAME || '0.0.0.0'
|
||||||
_: [],
|
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user