mirror of
https://github.com/yangzongzhuan/RuoYi-Vue.git
synced 2025-10-19 17:07:41 +00:00
支持防盗链功能
This commit is contained in:
@@ -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:
|
||||
# 过滤开关
|
||||
|
Reference in New Issue
Block a user