-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathapp.json
39 lines (39 loc) · 1.67 KB
/
app.json
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
31
32
33
34
35
36
37
38
39
{
"name": "RSS to API",
"description": "Exposes a JavaScript-friendly API for retrieving RSS feeds, and caches feeds using Redis for quicker response times.",
"repository": "https://github.com/csm123/RSStoAPI",
"keywords": ["rss"],
"env": {
"ORIGINS": {
"description": "A comma-delimited list of domains (no spaces) that are allowed to submit cross-domain requests to the app via JavaScript. No need for commas if you're specifying just one domain. ex. http://mydomain.com/,http://someotherdomain.com/",
"required": false
},
"ALLOW_ALL_ORIGINS": {
"description": "Set to true to allow any domain to submit cross-domain requests to this app. Not recommended.",
"required": false,
"value": "false"
},
"API_KEY": {
"description": "Set your own key that will be required to make a request to this API.",
"required": false
},
"DEFAULT_COUNT": {
"description": "The number of entries returned for a given feed by default. This can be adjusted per request.",
"required": false,
"value": "25"
},
"NUMBER_OF_ITEMS_TO_CACHE_PER_FEED": {
"description": "The number of enrties per feed to cache in Redis. If not specified, 25.",
"required": false,
"value": "25"
},
"CACHE_LIFE": {
"description": "The amount of time (in seconds) after fetching a feed to serve requests from the cache. Think about how fresh the feed needs to be for your use case vs. the speed gained from caching. If blank, 3600 or one hour - meaning that feeds will be updated from the source a maximum of once per hour.",
"required": false,
"value": "3600"
}
},
"addons": [
"heroku-redis"
]
}