Browse Source

排除链接

liuhj 4 years ago
parent
commit
2b26b5efb7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ruoyi-admin/src/main/resources/application.yml

+ 1 - 1
ruoyi-admin/src/main/resources/application.yml

@@ -122,6 +122,6 @@ xss:
   # 过滤开关
   # 过滤开关
   enabled: true
   enabled: true
   # 排除链接(多个用逗号分隔)
   # 排除链接(多个用逗号分隔)
-  excludes: /system/notice/*,/system/templatePage/*,/system/personalPage/*,/system/news/*,/system/shop/goods/*
+  excludes: /system/notice/*,/system/templatePage/*,/system/personalPage/*,/system/news/*,/system/shop/goods/*,/system/garden/*
   # 匹配链接
   # 匹配链接
   urlPatterns: /system/*,/monitor/*,/tool/*
   urlPatterns: /system/*,/monitor/*,/tool/*