-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsettings.js
30 lines (24 loc) · 1.26 KB
/
settings.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//app-specific sentence
module.exports = {
debug : false,
serverPort : 5000,
GA : 'UA-74299720-1', // Google analytics tracking ID
urbanAPI : 'http://api.urbandictionary.com/v0/define?term=',
randomUrbanAPI : 'http://api.urbandictionary.com/v0/random',
gaIgnoreHosts : ['localhost:8080', 'localhost:5000', 'urban-slack.com'], //list of hosts to be ignored on API paths
//slack response modes:
// ephemeral - only visible to user who isseus the slash command
// in_channel - visible to everyone in the chat window (direct, group, channel)
defaultSlackResponseMode : 'ephemeral',
//slackOAuthURI : 'https://slack.com/api/oauth.access',
slackOAuthURI : 'https://slack.com/oauth/v2/authorize?client_id=',
slackRedirectURI_local : 'http://localhost:5000/AddSlack',
slackRedirectURI_heroku : 'https://urban-slack.herokuapp.com/AddSlack',
mongoDBName : 'urbanslack',
//by default, do not filter out profanity.
defaultRating : 'nsfw',
//by default, do not randomize responses
defaultRandomSetting : false,
// #43 - frequency for prompting for feedback.
feedbackPromptInterval : 50
};