refactor: 统一配置启用属性描述

This commit is contained in:
2025-04-04 17:34:18 +08:00
parent 45da758dee
commit efaef9d7e6
18 changed files with 33 additions and 20 deletions

View File

@@ -36,7 +36,7 @@ public class CorsProperties {
private static final List<String> ALL = Collections.singletonList(StringConstants.ASTERISK);
/**
* 是否启用跨域配置
* 是否启用
*/
private boolean enabled = false;

View File

@@ -36,7 +36,7 @@ public class ServerExtensionProperties {
private static final List<String> DEFAULT_ALLOWED_METHODS = List.of("CONNECT", "TRACE", "TRACK");
/**
* 是否启用跨域配置
* 是否启用
*/
private boolean enabled = true;