diff --git a/conf/app.conf.example b/conf/app.conf.example index dffb9381..3bc5d116 100644 --- a/conf/app.conf.example +++ b/conf/app.conf.example @@ -7,7 +7,7 @@ runmode = "${MINDOC_RUN_MODE||dev}" sessionon = true sessionname = mindoc_id copyrequestbody = true -enablexsrf = true +enablexsrf = "${MINDOC_ENABLE_XSRF||true}" #系统完整URL(http://doc.iminho.me),如果该项不设置,会从请求头中获取地址。 baseurl="${MINDOC_BASE_URL}"