Skip to content

Commit

Permalink
Chore: CORS 프론트 배포 도메인 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
yxhwxn committed Aug 16, 2024
1 parent 74c76a1 commit 58650d5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 36 deletions.
34 changes: 0 additions & 34 deletions src/main/java/com/cmc/suppin/global/config/WebConfig.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ private String[] getAllowOrigins() {
"https://dev.suppin.store",
"https://api.suppin.store",
"https://suppin.store",
"http://192.168.200.120:3000", // 테스트 디바이스 IP 허용
"http://192.168.200.120:3000",
"https://coherent-midge-probably.ngrok-free.app",
"https://suppin-servey.vercel.app/"
"https://suppin-web.vercel.app/",
"https://suppin-survey.vercel.app"
).toArray(String[]::new);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ private RequestMatcher[] requestHasRoleUser() {
private RequestMatcher[] requestPermitAll() {
List<RequestMatcher> requestMatchers = List.of(
antMatcher("/"),
antMatcher("/health"),
antMatcher("/swagger-ui/**"),
antMatcher("/actuator/**"),
antMatcher("/v3/api-docs/**"),
Expand Down

0 comments on commit 58650d5

Please sign in to comment.