chore(conf): set enablexsrf to false by default

comment: https://github.com/mindoc-org/mindoc/pull/662#pullrequestreview-622656551
pull/662/head
roberChen 2021-03-28 12:23:21 +08:00
parent 3ab57e67ec
commit 94c233c03a
1 changed files with 1 additions and 1 deletions

View File

@ -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}"