优化代码,支持防盗链功能
This commit is contained in:
@@ -127,6 +127,13 @@ springdoc:
|
||||
paths-to-match: '/**'
|
||||
packages-to-scan: com.devttl.web.controller.tool
|
||||
|
||||
# 防盗链配置
|
||||
referer:
|
||||
# 防盗链开关
|
||||
enabled: false
|
||||
# 允许的域名列表
|
||||
allowed-domains: localhost,127.0.0.1,devttl.com,www.devttl.com
|
||||
|
||||
# 防止XSS攻击
|
||||
xss:
|
||||
# 过滤开关
|
||||
|
Reference in New Issue
Block a user