mirror of
https://github.com/open5gs/open5gs.git
synced 2026-04-28 03:19:31 +00:00
Changed mongodb default url from localhost to 127.0.0.1 as specified in https://mongoosejs.com/docs/connections.html. This fix incompatibility issues between webui and nodejs 18+ versions.
This commit is contained in:
parent
a55dabf63c
commit
51b967f4f9
1 changed files with 1 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
process.env.DB_URI = process.env.DB_URI || 'mongodb://localhost/open5gs';
|
process.env.DB_URI = process.env.DB_URI || 'mongodb://127.0.0.1/open5gs';
|
||||||
|
|
||||||
const _hostname = process.env.HOSTNAME || 'localhost';
|
const _hostname = process.env.HOSTNAME || 'localhost';
|
||||||
const port = process.env.PORT || 9999;
|
const port = process.env.PORT || 9999;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue