Skip to content

Commit

Permalink
refactor: https uri 삭제 (#820)
Browse files Browse the repository at this point in the history
  • Loading branch information
aiaiaiai1 authored Oct 26, 2023
1 parent d77dbdb commit f1f3d04
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ public class WebMvcConfig implements WebMvcConfigurer {

private static final String LOCALHOST_FRONTEND = "http://localhost:3000";
private static final String HTTPS_LOCALHOST_FRONTEND = "https://localhost:3000";
private static final String HTTPS_JERO = "https://jero-votogether-next.vercel.app/";
private static final String HTTPS_WUS = "https://wus-votogether-next-app.vercel.app/";
private static final String HTTPS_CHSUA = "https://chsua-votogether-next-app.vercel.app/";

private static final String DEV_SERVER = "https://dev.votogether.com";
private static final String PROD_SERVER = "https://votogether.com";

Expand All @@ -45,9 +41,6 @@ public FilterRegistrationBean<CorsFilter> corsFilterRegistrationBean() {
config.addAllowedOrigin(HTTPS_LOCALHOST_FRONTEND);
config.addAllowedOrigin(DEV_SERVER);
config.addAllowedOrigin(PROD_SERVER);
config.addAllowedOrigin(HTTPS_JERO);
config.addAllowedOrigin(HTTPS_WUS);
config.addAllowedOrigin(HTTPS_CHSUA);
config.addAllowedHeader("*");
config.addAllowedMethod("*");
config.addExposedHeader(HttpHeaders.LOCATION);
Expand Down

0 comments on commit f1f3d04

Please sign in to comment.