-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
22 lines (20 loc) · 865 Bytes
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
const dotenv = require('dotenv');
dotenv.config();
const config = {
github_token : process.env.GITHUB_TOKEN,
github_user: process.env.GITHUB_USER,
github_repo: process.env.GITHUB_REPO,
git_email: process.env.GIT_EMAIL, //the email used in git commit messages
git_name: process.env.GIT_NAME, //the name used in git commit messages
google_user_email: process.env.GOOGLE_USER_EMAIL,
google_client_id: process.env.GOOGLE_CLIENT_ID,
google_client_secret: process.env.GOOGLE_CLIENT_SECRET,
express_session_secret: process.env.SESSION_SECRET,
hugo_host: process.env.HUGO_HOST,
hugo_draft_mode : process.env.DRAFT_MODE,
mastodon_host: process.env.MASTODON_HOST,
mastodon_token: process.env.MASTODON_TOKEN,
openai_token: process.env.OPENAI_TOKEN,
openai_model: process.env.OPENAI_MODEL
}
module.exports = config;