Skip to content

Commit 457e453

Browse files
committed
Merge remote-tracking branch 'origin/develop' into develop
2 parents ff648b9 + 30c0585 commit 457e453

2 files changed

Lines changed: 15 additions & 15 deletions

File tree

src/main/java/Konkuk/U2E/global/config/WebConfig.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@ public WebConfig(AuthInterceptor authInterceptor, LoginUserArgumentResolver logi
2020
this.loginUserArgumentResolver = loginUserArgumentResolver;
2121
}
2222

23-
@Override
24-
public void addCorsMappings(CorsRegistry registry) {
25-
registry.addMapping("/**") // 백엔드 API 경로
26-
.allowedOrigins(
27-
"http://localhost:5173",
28-
"https://u2e.netlify.app",
29-
"https://us2earth.click/swagger-ui/index.html"
30-
)
31-
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
32-
.allowCredentials(true)
33-
.allowedHeaders("*")
34-
.maxAge(3600);
35-
}
23+
// @Override
24+
// public void addCorsMappings(CorsRegistry registry) {
25+
// registry.addMapping("/**") // 백엔드 API 경로
26+
// .allowedOrigins(
27+
// "http://localhost:5173",
28+
// "https://u2e.netlify.app",
29+
// "https://us2earth.click"
30+
// )
31+
// .allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
32+
// .allowCredentials(true)
33+
// .allowedHeaders("*")
34+
// .maxAge(3600);
35+
// }
3636

3737
@Override
3838
public void addInterceptors(InterceptorRegistry registry) {

src/main/java/Konkuk/U2E/global/openApi/gemini/scheduler/NewsAiScheduler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ public class NewsAiScheduler {
1717
private final NewsRepository newsRepository;
1818
private final NewsAiProcessor newsAiProcessor;
1919

20-
@Scheduled(cron = "*/30 * * * * *", zone = "Asia/Seoul") // 테스트용으로 30초마다 확인
21-
// @Scheduled(cron = "0 30 3 * * WED", zone = "Asia/Seoul") // 매주 수요일 03:30
20+
// @Scheduled(cron = "*/30 * * * * *", zone = "Asia/Seoul") // 테스트용으로 30초마다 확인
21+
@Scheduled(cron = "0 30 3 * * WED", zone = "Asia/Seoul") // 매주 수요일 03:30
2222
public void fillMissingAiFieldsDaily() {
2323
final int PAGE_SIZE = 50;
2424
int page = 0;

0 commit comments

Comments
 (0)