feat: 增加 XSS 过滤配置

This commit is contained in:
xiongxiaoyang
2022-05-17 20:00:21 +08:00
parent 9f5e532185
commit 339cdc6dba
4 changed files with 147 additions and 0 deletions

View File

@ -54,4 +54,14 @@ novel:
# JWT密钥
jwt:
secret: E66559580A1ADF48CDD928516062F12E
# XSS 过滤配置
xss:
# 过滤开关
enabled: true
# 排除链接
excludes:
- /system/notice/*