mirror of
https://github.com/yangzongzhuan/RuoYi.git
synced 2025-10-19 12:07:41 +00:00
新增CSRF防护功能
This commit is contained in:
@@ -136,6 +136,13 @@ xss:
|
||||
# 匹配链接
|
||||
urlPatterns: /system/*,/monitor/*,/tool/*
|
||||
|
||||
# 防止csrf攻击
|
||||
csrf:
|
||||
# 过滤开关
|
||||
enabled: true
|
||||
# 白名单(多个用逗号分隔)
|
||||
whites:
|
||||
|
||||
# Swagger配置
|
||||
swagger:
|
||||
# 是否开启swagger
|
||||
|
Reference in New Issue
Block a user