feat : 메인 헤드라인 출처 표시를 네이버 뉴스로
SpecialSource Frontend (React) CD / deploy (push) Successful in 15s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
headporterandClaude Opus 5.5 committed 2026-11-30 15:08:30 +09:00
1 parent 8f2255da49
commit 687f8594d5
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -208,7 +208,7 @@ export async function fetchFeed(token: string, kind: ListKind, board: string | n
export const fetchBoards = async (token: string): Promise<Board[]> =>
(await call("/api/scraped-posts/boards", token)).json();
/** IT 헤드라인 (GeekNews). 백엔드가 30분마다 피드를 읽어 둠. 로그인 없이 볼 수 있음 */
/** IT 헤드라인 (네이버 뉴스 IT/과학). 백엔드가 30분마다 읽어 둠. 로그인 없이 볼 수 있음 */
export async function fetchHeadlines(): Promise<Headline[]> {
const res = await fetch(`${API_URL}/api/headlines`);
if (!res.ok) throw new Error(`※ 서버 오류 (${res.status})`);
+1 -1
View File
@@ -47,7 +47,7 @@ export default function MainInfo() {
) : (
<div className={styles.dim}>{error.news ? "헤드라인을 불러오지 못했습니다." : "불러오는 중..."}</div>
)}
<div className={styles.footer}>출처: GeekNews · 줄을 누르면 새 탭으로 열림</div>
<div className={styles.footer}>출처: 네이버 뉴스 IT/과학 · 줄을 누르면 새 탭으로 열림</div>
</section>
<section className={styles.win}>