Updated the configuration setup docs.

Figured out that need to just add MONGODB_URI to .env if only need to provide URI.
This commit is contained in:
Mr.Pal
2023-06-12 02:12:47 +06:00
committed by GitHub
parent 2ba8bdadfc
commit 771e071005

View File

@ -49,3 +49,8 @@ export default defineNuxtConfig({
}, },
}) })
``` ```
If you want to configure only the `uri` just add `MONGODB_URI` in your `.env` file.
```env
MONGODB_URI=YOUR_MONGO_URI
```