Skip to content

Commit

Permalink
chore(conf): set enablexsrf to false by default
Browse files Browse the repository at this point in the history
  • Loading branch information
roberChen committed Mar 28, 2021
1 parent 3ab57e6 commit 94c233c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf/app.conf.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ runmode = "${MINDOC_RUN_MODE||dev}"
sessionon = true
sessionname = mindoc_id
copyrequestbody = true
enablexsrf = "${MINDOC_ENABLE_XSRF||true}"
enablexsrf = "${MINDOC_ENABLE_XSRF||false}"

#系统完整URL(http://doc.iminho.me),如果该项不设置,会从请求头中获取地址。
baseurl="${MINDOC_BASE_URL}"
Expand Down

0 comments on commit 94c233c

Please sign in to comment.