mirror of
https://github.com/umami-software/umami.git
synced 2026-02-15 10:05:36 +01:00
Corrected error with port and hostname argument and added the extra empty array
This commit is contained in:
parent
fd5d5c692e
commit
c61907ad1d
1 changed files with 5 additions and 1 deletions
|
|
@ -1,4 +1,8 @@
|
||||||
require('dotenv').config();
|
require('dotenv').config();
|
||||||
const cli = require('next/dist/cli/next-start');
|
const cli = require('next/dist/cli/next-start');
|
||||||
|
|
||||||
cli.nextStart(['-p', process.env.PORT || 3000, '-H', process.env.HOSTNAME || '0.0.0.0']);
|
cli.nextStart({
|
||||||
|
'--port': process.env.PORT || 3000,
|
||||||
|
'--hostname': process.env.HOSTNAME || '0.0.0.0',
|
||||||
|
_: [],
|
||||||
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue