mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-13 21:14:24 +01:00
modify starting files and readme
This commit is contained in:
parent
b9e9203a75
commit
d93282640c
4 changed files with 90 additions and 41 deletions
|
|
@ -4,7 +4,7 @@
|
|||
"description": "",
|
||||
"main": "server/index.js",
|
||||
"scripts": {
|
||||
"start": "npx node server/index.js",
|
||||
"start": "node server/index.js",
|
||||
"server-dev": "npx nodemon server/index.js"
|
||||
},
|
||||
"repository": {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ const path = require('path');
|
|||
const cors = require('cors');
|
||||
const routes = require('./routes');
|
||||
const app = express();
|
||||
const port = process.env.PORT || 3050;
|
||||
const port = process.env.PORT || 3080;
|
||||
const projectPath = path.join(__dirname, '..', '..', 'client');
|
||||
dbConnect().then(() => console.log('Connected to MongoDB'));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue