-
Notifications
You must be signed in to change notification settings - Fork 4
/
animeshot-example.json
57 lines (57 loc) · 1.33 KB
/
animeshot-example.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
{
"site": {
"meta": {
"title": "AnimeShot",
"owner": "your twitter handle",
"tagline": "your site description",
"logo": "/images/logo.jpg",
"lang": "en",
"base_url": "https://your.site.domain",
"version": "r20181016"
},
"service": {
"source": "https://trace.moe/?url=",
"twitter": "https://twitter.com/intent/tweet?url="
},
"server": {
"ssl_certificate": "/ssl/localhost.crt",
"ssl_key": "/ssl/localhost.key",
"http_port": 80,
"https_port": 443,
"server_port": 3000,
"has_proxy": true
}
},
"cookie": {
"keys": ["keep this string secret"],
"session": {
"signed": true,
"maxAge": 86400000,
"key": "animeshot:login"
}
},
"oauth": {
"server": {
"protocol": "https",
"host": "your.site.domain",
"callback": "/oauth/callback",
"transport": "session",
"state": true
},
"twitter": {
"key": "...apply for a twitter app...",
"secret": "...apply for a twitter app..."
},
"github": {
"key": "...apply for a github app...",
"secret": "...apply for a github app..."
}
},
"bot": {
"telegram": "...apply for a telegram bot...",
"result_count": 10,
"cache_time": 0,
"is_personal": false,
"callback": "/bot/callback"
}
}