-
-
Notifications
You must be signed in to change notification settings - Fork 171
/
app.json
64 lines (64 loc) · 2.08 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"name": "besticon-favicon-service",
"description": "A favicon service written in Go",
"repository": "https://github.com/mat/besticon",
"website": "https://github.com/mat/besticon",
"logo": "https://besticon-demo.herokuapp.com/icon.svg",
"env": {
"ADDRESS": {
"value": "0.0.0.0",
"description": "HTTP server listen address, defaults to 0.0.0.0"
},
"CACHE_SIZE_MB": {
"value": "32",
"description": "Size for the http://github.com/golang/groupcache, set to 0 to disable, defaults to 32"
},
"HOST_ONLY_DOMAINS": {
"value": "*"
},
"CORS_ENABLED": {
"value": "false",
"description": "Enables the cors middleware, defaults to false"
},
"CORS_ALLOWED_HEADERS": {
"value": " ",
"description": "Comma-separated, passed to middleware"
},
"CORS_ALLOWED_METHODS": {
"value": " ",
"description": "Comma-separated, passed to middleware"
},
"CORS_ALLOWED_ORIGINS": {
"value": " ",
"description": "Comma-separated, passed to middleware"
},
"CORS_ALLOW_CREDENTIALS": {
"value": " ",
"description": "Boolean, passed to middleware"
},
"CORS_DEBUG": {
"value": " ",
"description": "Boolean, passed to middleware"
},
"HTTP_CLIENT_TIMEOUT": {
"value": "5s",
"description": "Timeout used for HTTP requests. Supports units like ms, s, m, defaults to 5s"
},
"HTTP_MAX_AGE_DURATION": {
"value": "720h",
"description": "Cache duration for all dynamically generated HTTP responses. Supports units like ms, s, m"
},
"HTTP_USER_AGENT": {
"value": "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0 like Mac OS X) AppleWebKit/602.1.38 (KHTML, like Gecko) Version/10.0 Mobile/14A5297c Safari/602.1",
"description": "User-Agent used for HTTP requests, defaults to iPhone user agent string"
},
"POPULAR_SITES": {
"value": "bing.com,github.com,instagram.com,reddit.com",
"description": "Comma-separated list of domains used on /popular page"
},
"SERVER_MODE": {
"value": "redirect",
"description": "Set to `download` to proxy downloads through besticon or `redirect` to let browser to download instead, defaults to redirect"
}
}
}