Skip to content

Commit 7e44c8e

Browse files
committed
fix: 대학 정보 전체조회 API 엔드포인트 보정 (#439)
* fix: 대학 정보 조회 endpoint를 전체 조회 경로로 수정 * fix: 대학 상세 목록 ISR 시간을 Infinity로 조정 * fix: 대학 상세 목록 ISR 재검증 주기를 6개월로 설정
1 parent 4af9593 commit 7e44c8e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/web/src/apis/universities/server/getSearchUniversitiesByFilter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export const getSearchUniversitiesByFilter = async (
4848
};
4949

5050
export const getSearchUniversitiesAllRegions = async (): Promise<ListUniversity[]> => {
51-
const endpoint = `/univ-apply-infos/search/filter`;
51+
const endpoint = `/univ-apply-infos/search/text?value=`;
5252
const response = await serverFetch<UniversitySearchResponse>(endpoint);
5353

5454
if (!response.ok) {

apps/web/src/app/university/[homeUniversity]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import type { HomeUniversitySlug } from "@/types/university";
88

99
import UniversityListContent from "./_ui/UniversityListContent";
1010

11-
export const revalidate = 3600; // 1시간마다 재검증 (ISR)
11+
export const revalidate = 15552000; // 6개월마다 재검증 (ISR)
1212

1313
// 정적 경로 생성
1414
export async function generateStaticParams() {

0 commit comments

Comments
 (0)