diff options
| author | 2022-03-05 15:59:29 +0000 | |
|---|---|---|
| committer | 2022-03-05 21:41:16 +0000 | |
| commit | 7503a06e6c5dbe9d30cfd59cc784ffb91bab8cb5 (patch) | |
| tree | 46645403bfb315995fdbd6d585891ee4ef39e16e /configs | |
| parent | 0dbd7a110883f88ec5210a04063d0c092a39e039 (diff) | |
| download | my_apps-7503a06e6c5dbe9d30cfd59cc784ffb91bab8cb5.tar.gz my_apps-7503a06e6c5dbe9d30cfd59cc784ffb91bab8cb5.tar.bz2 my_apps-7503a06e6c5dbe9d30cfd59cc784ffb91bab8cb5.zip | |
add docker config
Diffstat (limited to 'configs')
| -rw-r--r-- | configs/dbConnect.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/configs/dbConnect.js b/configs/dbConnect.js index a585f80..8dd7e0b 100644 --- a/configs/dbConnect.js +++ b/configs/dbConnect.js @@ -1,7 +1,6 @@ import mongoose from 'mongoose' -const MONGODB_URI = process.env.MYAPPS_MONGODB_URI -// const MONGODB_URI = 'mongodb://localhost:27017/myapps' +const MONGODB_URI = process.env.MONGODB_CONNSTRING if (!MONGODB_URI) { throw new Error( |
