forked from outsideris/slack-invite-automation
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.js
22 lines (22 loc) · 1.04 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
module.exports = {
// your community or team name to display on join page.
community: process.env.COMMUNITY_NAME || 'YOUR-TEAM-NAME',
// your slack team url (ex: socketio.slack.com)
slackUrl: process.env.SLACK_URL || 'YOUR-TEAM.slack.com',
// access token of slack
// see https://github.com/outsideris/slack-invite-automation#issue-token
//
// You can test your token via curl:
// curl -X POST 'https://YOUR-SLACK-TEAM.slack.com/api/users.admin.invite' \
// --data 'email=EMAIL&token=TOKEN&set_active=true' \
// --compressed
slacktoken: process.env.SLACK_TOKEN || 'YOUR-ACCESS-TOKEN',
// an optional security measure - if it is set, then that token will be required to get invited.
inviteToken: process.env.INVITE_TOKEN || null,
// an optional security measure - if both are set, then recaptcha will be used.
recaptchaSiteKey: process.env.RECAPTCHA_SITE || null,
recaptchaSecretKey: process.env.RECAPTCHA_SECRET || null,
// default locale
locale: process.env.LOCALE || "en",
subpath: process.env.SUBPATH || "/"
};