Skip to content

Commit

Permalink
Update db uri
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishraj09 committed Nov 10, 2024
1 parent 51c80bb commit fb4075a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const originUrl = process.env.CLIENT_URL
console.log(`Development mode: ${isDev}`);
console.log(`Origin URL: ${originUrl}`);

const mongoUri = isDev ? "mongodb://localhost/iptvnator" : process.env.MONGO_URI || "";
const mongoUri = isDev ? "mongodb://localhost:27017/iptvnator" : process.env.MONGO_URI || "";
const dbName = isDev ? "iptvnator" : process.env.MONGO_DB_NAME || "";
const collectionName = isDev ? "playlists" : process.env.MONGO_COLLECTION_NAME || "";

Expand Down

0 comments on commit fb4075a

Please sign in to comment.