mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-24 04:10:15 +01:00
Add more information in env.example.
Give current host address when HOST=0.0.0.0
This commit is contained in:
parent
97668217b9
commit
8604030404
2 changed files with 20 additions and 8 deletions
|
|
@ -25,5 +25,8 @@ app.use('/api/customGpts', routes.customGpts);
|
|||
app.use('/api/prompts', routes.prompts);
|
||||
|
||||
app.listen(port, host, () => {
|
||||
console.log(`Server listening at http://${host}:${port}`);
|
||||
if (host=='0.0.0.0')
|
||||
console.log(`Server listening on all interface at port ${port}. Use http://localhost:${port} to access it`);
|
||||
else
|
||||
console.log(`Server listening at http://${host=='0.0.0.0'?'localhost':host}:${port}`);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue