Skip to content

Commit

Permalink
optimized env
Browse files Browse the repository at this point in the history
  • Loading branch information
dinxsh committed Jul 27, 2024
1 parent 6e61e9b commit 2d8066b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seed/seed.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const TournamentModel = require('../model/Tournament');
const { TeamModel } = require('../model/Team');

async function connectToMongoDB() {
await mongoose.connect("mongodb+srv://test:[email protected]/?retryWrites=true&w=majority&appName=main");
await mongoose.connect(process.env.DATABASE_URL);
}

async function main() {
Expand Down

0 comments on commit 2d8066b

Please sign in to comment.