forked from Rob--W/cors-anywhere
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.json
33 lines (33 loc) · 1.06 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
{
"name": "CORS Anywhere",
"description": "Setup a proxy which allows permissive CORS headers to be added to upstream API responses",
"env": {
"NODE_TLS_REJECT_UNAUTHORIZED": {
"value": "",
"required": false
},
"CORSANYWHERE_BLOCKLIST": {
"description": "Block-list of domains, comma-separated.",
"value": "",
"required": false
},
"CORSANYWHERE_ALLOWLIST": {
"description": "Allow-list of domains; comma-separated.",
"value": "http://localhost",
"required": false
},
"CORSANYWHERE_RATELIMIT": {
"description": "If you run an open proxy, you will be violating Heroku terms. Rate-limiting can help mitigate this.",
"value": "1 1",
"required": false
},
"NODE_ENV": "production",
"NPM_CONFIG_PRODUCTION": {
"description": "Must be false or npm will not install devDependencies",
"value": "false"
}
},
"buildpacks": [
{ "url": "https://github.com/heroku/heroku-buildpack-nodejs" }
]
}