Download settings.js from apoohub23/testing: direct link, hf CLI and curl.
- Browser
- Download file 717 Bytes
-
https://huggingface.co/spaces/apoohub23/testing/resolve/main/settings.js
- Command line
-
hf download hf://spaces/apoohub23/testing/settings.js
-
curl -L -o settings.js https://huggingface.co/spaces/apoohub23/testing/resolve/main/settings.js
717 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 === undefined ? 'π°ππΈππ·π°-πΌπ³=K2ZCDKhC#oMnA7KkauZEb6vzA5n9IQi1J86yjszHawPVbvdyLwLo' : process.env.SESSION_ID, | |
| PORT: process.env.PORT === undefined ? "8000" : process.env.PORT, | |
| SESSION_NAME: process.env.PORT === undefined ? "asitha" : process.env.SESSION_NAME, | |
| POSTGRESQL_URL: process.env.POSTGRESQL_URL === undefined ? 'postgresql://postgres:@Asitha2005b@db.waiqbrnuxkjebghzhovz.supabase.co:5432/postgres' : process.env.POSTGRESQL_URL, | |
| }; | |