mirror of
https://github.com/continew-org/continew-starter.git
synced 2025-09-27 08:57:14 +08:00
feat(messaging/websocket): 新增消息模块 - WebSocket
This commit is contained in:
@@ -33,6 +33,8 @@ import java.util.List;
|
||||
@ConfigurationProperties(PropertiesConstants.CORS)
|
||||
public class CorsProperties {
|
||||
|
||||
private static final List<String> ALL = Collections.singletonList(StringConstants.ASTERISK);
|
||||
|
||||
/**
|
||||
* 是否启用跨域配置
|
||||
*/
|
||||
@@ -58,8 +60,6 @@ public class CorsProperties {
|
||||
*/
|
||||
private List<String> exposedHeaders = new ArrayList<>();
|
||||
|
||||
private static final List<String> ALL = Collections.singletonList(StringConstants.ASTERISK);
|
||||
|
||||
public boolean isEnabled() {
|
||||
return enabled;
|
||||
}
|
||||
|
Reference in New Issue
Block a user