支持防盗链功能

This commit is contained in:
RuoYi
2025-09-02 11:30:54 +08:00
parent 4a5b0e6079
commit 7558c176eb
3 changed files with 106 additions and 0 deletions

View File

@@ -119,6 +119,13 @@ swagger:
# 请求前缀
pathMapping: /dev-api
# 防盗链配置
referer:
# 防盗链开关
enabled: false
# 允许的域名列表
allowed-domains: localhost,127.0.0.1,ruoyi.vip,www.ruoyi.vip
# 防止XSS攻击
xss:
# 过滤开关