1
0
forked from ruoyi/RuoYi-Vue

支持防盗链功能

This commit is contained in:
RuoYi
2025-09-02 11:31:18 +08:00
parent d1cdbbd22c
commit f0346b3def
3 changed files with 106 additions and 0 deletions

View File

@@ -127,6 +127,13 @@ springdoc:
paths-to-match: '/**'
packages-to-scan: com.ruoyi.web.controller.tool
# 防盗链配置
referer:
# 防盗链开关
enabled: false
# 允许的域名列表
allowed-domains: localhost,127.0.0.1,ruoyi.vip,www.ruoyi.vip
# 防止XSS攻击
xss:
# 过滤开关