mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-10-31 22:57:17 +08:00 
			
		
		
		
	fix: 排除路径配置放开 /error
如果不放开 /error 路径,404 类的错误跳转到 /error 时将返回 401
This commit is contained in:
		| @@ -116,6 +116,7 @@ captcha: | |||||||
|  |  | ||||||
| --- ### 安全配置-排除路径配置 | --- ### 安全配置-排除路径配置 | ||||||
| security.excludes: | security.excludes: | ||||||
|  |   - /error | ||||||
|   # 静态资源 |   # 静态资源 | ||||||
|   - /*.html |   - /*.html | ||||||
|   - /**/*.html |   - /**/*.html | ||||||
|   | |||||||
| @@ -116,6 +116,7 @@ captcha: | |||||||
|  |  | ||||||
| --- ### 安全配置-排除路径配置 | --- ### 安全配置-排除路径配置 | ||||||
| security.excludes: | security.excludes: | ||||||
|  |   - /error | ||||||
|   # 静态资源 |   # 静态资源 | ||||||
|   - /*.html |   - /*.html | ||||||
|   - /**/*.html |   - /**/*.html | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user