mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-06-28 15:45:35 +08:00
chore(conf): set enablexsrf to false by default
comment: https://github.com/mindoc-org/mindoc/pull/662#pullrequestreview-622656551
This commit is contained in:
parent
3ab57e67ec
commit
94c233c03a
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user