Skip to content

Commit 48590f3

Browse files
committed
app.conf.example
1 parent 37d5c98 commit 48590f3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

conf/app.conf.example

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
# 项目名称
23
appname = DocHub
34

@@ -10,13 +11,13 @@ runmode = dev
1011
# 开启GZip[建议开启]
1112
EnableGzip=true
1213

13-
# 启用XSRF
14+
# 必须启用XSRF
1415
enablexsrf = true
15-
xsrfkey = gsrtewrt45324joidsffrtqwe
16+
xsrfkey = 8fd70cd11c371951b1f385f452784fbb
1617
xsrfexpire = 3600
1718

1819
# cookie的加密密钥
19-
cookieSecret=sfgowtrfgjqwetryfqef8sd
20+
CookieSecret=jLGy7yFD69dYItVJ
2021

2122
# 静态文件扩展名【注意:不要把.conf设置为扩展名,以避免泄露数据库账号密码】
2223
StaticExt=.txt,.html,.ico,.jpeg,.png,.gif,.xml
@@ -72,4 +73,4 @@ maxIdle= 50
7273
maxConn= 300
7374

7475

75-
############ 数据库配置 end ############
76+
############ 数据库配置 end ############

0 commit comments

Comments
 (0)