mirror of
https://github.com/continew-org/continew-starter.git
synced 2025-09-08 16:57:09 +08:00
refactor: 统一配置启用属性描述
This commit is contained in:
@@ -36,7 +36,7 @@ public class CorsProperties {
|
||||
private static final List<String> ALL = Collections.singletonList(StringConstants.ASTERISK);
|
||||
|
||||
/**
|
||||
* 是否启用跨域配置
|
||||
* 是否启用
|
||||
*/
|
||||
private boolean enabled = false;
|
||||
|
||||
|
@@ -36,7 +36,7 @@ public class ServerExtensionProperties {
|
||||
private static final List<String> DEFAULT_ALLOWED_METHODS = List.of("CONNECT", "TRACE", "TRACK");
|
||||
|
||||
/**
|
||||
* 是否启用跨域配置
|
||||
* 是否启用
|
||||
*/
|
||||
private boolean enabled = true;
|
||||
|
||||
|
Reference in New Issue
Block a user