-
Notifications
You must be signed in to change notification settings - Fork 67
Setting Config Vars on Heroku
Ben edited this page Jul 3, 2020
·
1 revision
Instagram Token Agent requires a few Config vars (AKA Environment Variables) to work. Some of these you'll supply when deploying your app, and you can make changes to them in the Heroku Dashboard, under Your App > Settings > Config Vars.
Here's a list of variables and their effects:
Key | Description | Default |
---|---|---|
HIDE_HELP_PAGES |
Set to true to turn off the setup pages that aren't needed in production. |
none (Help pages display by default) |
ALLOWED_DOMAINS |
White-list of the domains that can request the token via JS snippet or JSON object | Your app's own herokuapp.com domain |
REFRESH_MODE |
How should the refresh schedule work? Currently, only 'cron' is allowed, which refreshes on a set schedule | cron |
REFRESH_FREQUENCY |
How often should we refresh the token? Currently 'daily', 'weekly', 'monthly' are supported. | weekly |
JS_CONSTANT_NAME |
Set the name of the constant provided by the JS snippet | InstagramToken |