forked from zws-im/zws
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.json
More file actions
60 lines (60 loc) · 1.76 KB
/
app.json
File metadata and controls
60 lines (60 loc) · 1.76 KB
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
{
"addons": [
{
"plan": "heroku-postgresql",
"options": {
"version": "13"
}
}
],
"buildpacks": [
{
"url": "heroku/nodejs"
}
],
"description": "A configurable URL shortener",
"env": {
"API_KEY": {
"description": "API key used to protect some routes. If you leave this blank anyone will be able to shorten URLs.",
"required": false,
"generator": "secret"
},
"DATABASE_URL": {
"description": "URL or path to database. Leave this blank if you are using a Heroku add-on for your database.",
"required": false
},
"SHORT_LENGTH": {
"description": "Length of shortened IDs. Default is calculated based on length of SHORT_CHARS.",
"required": false
},
"SHORT_CHARS": {
"description": "JSON array of characters to used in shortened IDs.",
"required": false
},
"SHORT_REWRITES": {
"description": "JSON object of rewrites to normalize shortened IDs. Advanced use only.",
"required": false
},
"HOSTNAME": {
"description": "The hostname of this API instance.",
"required": false
},
"SHORTENED_BASE_URL": {
"description": "The base URL to build shortened URLs from. If you leave this blank clients will have to assemble shortened URLs themselves.",
"required": false
},
"BLOCKED_HOSTNAMES": {
"description": "JSON array of hostnames or domain names that are prevented from being shortened.",
"required": false
},
"SENTRY_DSN": {
"description": "Sentry Data Source Name (DSN) https://docs.sentry.io/product/sentry-basics/dsn-explainer/",
"required": false
}
},
"keywords": ["URL Shortener", "Node.js"],
"logo": "https://avatars.githubusercontent.com/u/53232036",
"name": "Custom ZWS Instance",
"repository": "https://github.com/zws-im/zws",
"website": "https://github.com/zws-im/zws#readme"
}