From 94c233c03a108682373b7d5598f3cfdd10224a37 Mon Sep 17 00:00:00 2001 From: roberChen Date: Sun, 28 Mar 2021 12:23:21 +0800 Subject: [PATCH] chore(conf): set enablexsrf to false by default comment: https://github.com/mindoc-org/mindoc/pull/662#pullrequestreview-622656551 --- conf/app.conf.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/app.conf.example b/conf/app.conf.example index b7ce3b31..4483a70c 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 = "${MINDOC_ENABLE_XSRF||true}" +enablexsrf = "${MINDOC_ENABLE_XSRF||false}" #系统完整URL(http://doc.iminho.me),如果该项不设置,会从请求头中获取地址。 baseurl="${MINDOC_BASE_URL}"