Skip to content

Commit

Permalink
chore: remove dotenv
Browse files Browse the repository at this point in the history
  • Loading branch information
grapemoli committed Mar 22, 2024
1 parent db7f59d commit e30cb6b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion back-end/scripts/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* Dedicated to creating and populating collections.
* ***********************************************************************************/
// Read .env file and set environment variables
require('dotenv').config({path: './.env'});

// Use official mongodb driver to connect to the server
const { MongoClient } = require('mongodb');
Expand Down
1 change: 0 additions & 1 deletion website/config/connection.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
require("dotenv").config();
const mongoose = require("mongoose");
const { getSecret } = require("./keyvault");

Expand Down

0 comments on commit e30cb6b

Please sign in to comment.