asitha2 / config.js
Asitha2005's picture
Update config.js
3f248a7 verified
Raw History Blame Contribute Delete
433 Bytes
const fs = require('fs');
if (fs.existsSync('config.env')) require('dotenv').config({ path: './config.env' });
function convertToBool(text, fault = 'true') {
return text === fault ? true : false;
}
module.exports = {
SESSION_ID: process.env.SESSION_ID || "TuhBlCpR#MDtDKdrqOSZCOvYE1xfX1LR14lcZ_PRucM-6WlJXQjQ",
MONGODB: process.env.MONGODB || "mongodb+srv://kulathungaasitha319:yjHB0DvFfStNfwPS@cluster0.3oijd.mongodb.net/",
};