Spaces:
Paused
Paused
Download config.js from Asitha2005/asitha2: direct link, hf CLI and curl.
- Browser
- Download file 433 Bytes
-
https://huggingface.co/spaces/Asitha2005/asitha2/resolve/main/config.js
- Command line
-
hf download hf://spaces/Asitha2005/asitha2/config.js
-
curl -L -o config.js https://huggingface.co/spaces/Asitha2005/asitha2/resolve/main/config.js
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/", | |
| }; | |