-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathapp.cfg-sample
More file actions
41 lines (35 loc) · 702 Bytes
/
app.cfg-sample
File metadata and controls
41 lines (35 loc) · 702 Bytes
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
[server]
app_name = cardbill
debug = true
session_timeout = 7200
app_key = bqp9erF(*&#PHF0sdjf3
http_static = ./dist/
domain = https://cardbill.nsini.com
[mysql]
host = mysql
port = 3306
user = cardbill
password = hello-world
database = cardbill
; your github client and secret
[github]
client_id =
client_secret =
[wechat]
ori.id =
app.id =
app.secret =
encoding.aes.key =
token =
mch.id =
mch.api.key =
mp.ori.id =
mp.app.id =
mp.app.secret =
open.app.id =
open.secret =
[cors]
allow = false
origin = http://localhost:8000
methods = GET,POST,OPTIONS,PUT,DELETE
headers = Origin,Content-Type,Authorization,mode,cors,x-requested-with,Access-Control-Allow-Origin,Access-Control-Allow-Credentials