diff --git a/src/main/java/KUSITMS/WITHUS/global/config/CorsConfig.java b/src/main/java/KUSITMS/WITHUS/global/config/CorsConfig.java index 2278a23..1b7cbf4 100644 --- a/src/main/java/KUSITMS/WITHUS/global/config/CorsConfig.java +++ b/src/main/java/KUSITMS/WITHUS/global/config/CorsConfig.java @@ -19,6 +19,8 @@ public CorsFilter corsFilter() { config.addAllowedOriginPattern("http://localhost:8080"); config.addAllowedOriginPattern("https://jk-project.site"); config.addAllowedOriginPattern("https://www.jk-project.site"); + config.addAllowedOriginPattern("https://prd.ilhaeng.cloud"); + config.addAllowedOriginPattern("https://stg.ilhaeng.cloud"); config.addAllowedOriginPattern("https://withus-ten.vercel.app"); config.addAllowedOriginPattern("https://recruit-withus.co.kr"); config.addAllowedOriginPattern("https://www.recruit-withus.co.kr"); diff --git a/src/main/java/KUSITMS/WITHUS/global/config/SwaggerConfig.java b/src/main/java/KUSITMS/WITHUS/global/config/SwaggerConfig.java index 89f3b9a..85a4405 100644 --- a/src/main/java/KUSITMS/WITHUS/global/config/SwaggerConfig.java +++ b/src/main/java/KUSITMS/WITHUS/global/config/SwaggerConfig.java @@ -20,7 +20,9 @@ public class SwaggerConfig { public OpenAPI openAPI() { return new OpenAPI() .servers(List.of( - new Server().url("https://jk-project.site").description("Production Server"), + new Server().url("https://prd.ilhaeng.cloud").description("Oracle Production Server"), + new Server().url("https://stg.ilhaeng.cloud").description("Oracle Staging Server"), + new Server().url("https://jk-project.site").description("NCP Production Server"), new Server().url("http://localhost:8080").description("Local Server") )) .components(components())