Spaces:
Sleeping
Sleeping
Update index.js
Browse files
index.js
CHANGED
@@ -18,7 +18,7 @@ app.listen(port, async function () {
|
|
18 |
});
|
19 |
|
20 |
let mongoose = require('mongoose');
|
21 |
-
mongoose.connect('mongodb+srv://
|
22 |
|
23 |
let cors = require('cors');
|
24 |
app.use(cors({
|
|
|
18 |
});
|
19 |
|
20 |
let mongoose = require('mongoose');
|
21 |
+
mongoose.connect('mongodb+srv://myProjectsAccess:Y8uR4CEx2y8O4lmi@myprojects.mfdfgty.mongodb.net/farmfire-app');
|
22 |
|
23 |
let cors = require('cors');
|
24 |
app.use(cors({
|