config.js 1.0 KB

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