Skip to content

Commit

Permalink
[FIX] 추가된 어드민 도메인 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
dragontaek-lee committed Mar 28, 2024
1 parent 3a1f85f commit 1ac3e6b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ public CorsConfigurationSource corsConfigurationSource() {

configuration.addAllowedOrigin(valueConfig.getADMIN_PROD_URL());
configuration.addAllowedOrigin(valueConfig.getADMIN_DEV_URL());
configuration.addAllowedOrigin(valueConfig.getADMIN_PROD_URL_LEGACY());
configuration.addAllowedOrigin(valueConfig.getADMIN_DEV_URL_LEGACY());
configuration.addAllowedOrigin(valueConfig.getADMIN_LOCAL_URL());
configuration.addAllowedHeader("*");
configuration.addAllowedMethod("*");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ public class ValueConfig {
private String ADMIN_PROD_URL;
@Value("${admin.url.dev}")
private String ADMIN_DEV_URL;
@Value("${admin.url.prod_legacy}")
private String ADMIN_PROD_URL_LEGACY;
@Value("${admin.url.dev_legacy}")
private String ADMIN_DEV_URL_LEGACY;
@Value("${admin.url.local}")
private String ADMIN_LOCAL_URL;
@Value("${notification.key}")
Expand Down

0 comments on commit 1ac3e6b

Please sign in to comment.