fix(cors): @Value 기본값에 wing.gc-si.dev 추가
application.yml의 CORS 설정과 동기화하여 프로덕션 환경에서 wing.gc-si.dev → guide.gc-si.dev 크로스오리진 요청 허용. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
부모
8e780413ce
커밋
3b70d8c33d
@ -29,7 +29,7 @@ public class SecurityConfig {
|
||||
private final JwtAuthenticationFilter jwtAuthenticationFilter;
|
||||
private final ObjectMapper objectMapper;
|
||||
|
||||
@Value("${app.cors.allowed-origins:http://localhost:5173,https://guide.gc-si.dev}")
|
||||
@Value("${app.cors.allowed-origins:http://localhost:5173,http://localhost:5175,http://127.0.0.1:5175,https://guide.gc-si.dev,https://wing.gc-si.dev}")
|
||||
private List<String> allowedOrigins;
|
||||
|
||||
@Bean
|
||||
|
||||
불러오는 중...
Reference in New Issue
Block a user