File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
api/src/main/java/io/kafbat/ui/config Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1717public class CorsGlobalConfiguration {
1818
1919 @ Autowired
20- private static CorsProperties corsProperties ;
20+ private CorsProperties corsProperties ;
2121
2222 @ Bean
2323 public WebFilter corsFilter () {
@@ -37,7 +37,7 @@ public WebFilter corsFilter() {
3737 };
3838 }
3939
40- public static void fillCorsHeader (HttpHeaders responseHeaders ) {
40+ public void fillCorsHeader (HttpHeaders responseHeaders ) {
4141 responseHeaders .add ("Access-Control-Allow-Origin" , corsProperties .getAllowedOrigins ());
4242 responseHeaders .add ("Access-Control-Allow-Credentials" , corsProperties .getAllowCredentials ());
4343 responseHeaders .add ("Access-Control-Allow-Methods" , corsProperties .getAllowedMethods ());
You can’t perform that action at this time.
0 commit comments