链接数据库

This commit is contained in:
2024-08-11 21:47:44 +08:00
parent 2f510aa096
commit ad0a91150e
5 changed files with 608 additions and 188 deletions

View File

@@ -11,7 +11,8 @@ module.exports = {
env: {
"NODE_ENV": "production",
"PORT": 80,
"DATABASE_URI": "mongodb://USERNAME:PASSWORD@localhost:27017",
// TODO: change to your own username and password
"DATABASE_URI": "mongodb://USERNAME:PASSWORD@localhost:27017/labplus",
}
}]
}