Skip to content

Commit

Permalink
Adding example changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Frnn4268 committed May 31, 2024
1 parent 8e149fe commit bcf0bb4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ require("dotenv").config();
app.use(cors());
app.use(express.json());

// Set the strictQuery option
mongoose.set('strictQuery', true); // or false, depending on your preference

mongoose
.connect(process.env.MONGO_URL, {
useNewUrlParser: true,
Expand Down

0 comments on commit bcf0bb4

Please sign in to comment.