diff --git a/api/src/main/java/io/kafbat/ui/config/CorsProperties.java b/api/src/main/java/io/kafbat/ui/config/CorsProperties.java index a3c1a47ea..e32a00cf1 100644 --- a/api/src/main/java/io/kafbat/ui/config/CorsProperties.java +++ b/api/src/main/java/io/kafbat/ui/config/CorsProperties.java @@ -1,12 +1,12 @@ package io.kafbat.ui.config; +import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; -import lombok.Data; +@Data @Component @ConfigurationProperties(prefix = "cors") -@Data public class CorsProperties {