From f0f00e9ba8a755e4317e029d73b69a92ad9f9df1 Mon Sep 17 00:00:00 2001
From: kongzy <kongzy>
Date: 星期六, 14 九月 2024 17:02:41 +0800
Subject: [PATCH] update

---
 exam-admin/src/main/resources/application.yml |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/exam-admin/src/main/resources/application.yml b/exam-admin/src/main/resources/application.yml
index 801cfa5..e406ad7 100644
--- a/exam-admin/src/main/resources/application.yml
+++ b/exam-admin/src/main/resources/application.yml
@@ -2,7 +2,7 @@
   application:
     name: train_exam
   profiles:
-    active: dev
+    active: guotai
   servlet:
     multipart:
       enabled: true
@@ -18,6 +18,10 @@
   port: 8082
   servlet:
     context-path: /api
+  tomcat:
+    threads:
+      min-spare: 10
+      max: 200
 
 
 # 用户配置
@@ -36,3 +40,13 @@
   #获取ip地址开关
   addressEnabled: false
 
+
+# 防止XSS攻击
+xss:
+  # 过滤开关
+  enabled: true
+  # 排除链接(多个用逗号分隔)
+  excludes:
+  # 匹配链接
+  urlPatterns: /system/*,/manage/*
+

--
Gitblit v1.9.2