From 6976c7f386568ad3f935a606d25173242032a4b7 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期日, 26 九月 2021 17:26:45 +0800 Subject: [PATCH] update security 路径配置抽取到配置文件 --- ruoyi-admin/src/main/resources/application.yml | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 3d5e8df..a3e525c 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -124,13 +124,17 @@ # security閰嶇疆 security: - # 鐧诲嚭璺緞 - logout-url: /logout - # 鍖垮悕璺緞 - anonymous: + # 鎺掗櫎璺緞 + excludes: - /login + - /logout - /register - /captchaImage + # 闈欐�佽祫婧� + - /*.html + - /**/*.html + - /**/*.css + - /**/*.js # swagger 鏂囨。閰嶇疆 - /doc.html - /swagger-resources/** @@ -141,8 +145,6 @@ # actuator 鐩戞帶閰嶇疆 - /actuator - /actuator/** - # 鐢ㄦ埛鏀捐 - permit-all: # 閲嶅鎻愪氦 repeat-submit: -- Gitblit v1.9.3