mirror of
https://git.hmsn.ink/kospo/helptalk/api.git
synced 2026-03-20 05:53:27 +09:00
버그 수정
This commit is contained in:
@@ -58,7 +58,7 @@ public class SecurityConfig {
|
||||
CorsConfiguration config = new CorsConfiguration();
|
||||
String origin = request.getHeader("Origin");
|
||||
config.setAllowCredentials(true);
|
||||
config.setAllowedOrigins(Arrays.asList("http://kisp.kospo.co.kr:8010", "http://localhost:8010"));
|
||||
config.setAllowedOrigins(Arrays.asList("http://kisp.kospo.co.kr:8010", "http://localhost:8010", "http://talk.kospo.co.kr:3000"));
|
||||
config.setAllowedMethods(Arrays.asList("POST","GET","DELETE","PUT","OPTIONS"));
|
||||
config.setAllowedHeaders(Arrays.asList("*"));
|
||||
return config;
|
||||
|
||||
Reference in New Issue
Block a user