mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Updated start-env with new NextStartOptions
Corrected error with port and hostname argument and removed unneeded array.
This commit is contained in:
parent
d2658458aa
commit
43f231eca4
1 changed files with 2 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue