mirror of https://github.com/mindoc-org/mindoc.git
chore(conf): set enablexsrf to false by default
comment: https://github.com/mindoc-org/mindoc/pull/662#pullrequestreview-622656551pull/662/head
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