mirror of
https://github.com/headporter81/ss-front-react.git
synced 2026-12-06 07:41:11 +09:00
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8f2255da49
commit
687f8594d5
2 files changed
+2
-2
No files matched your search
@@ -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})`);
|
||||
|
||||
@@ -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}>
|
||||
|
||||
Reference in new issue
Block a user