'use server'; import { ResultDto } from '@/types/response/common'; import { WorldIndicesResponse } from '@/types/worldIndex'; import { fetchJson } from '@/lib/utils/server'; const JSON_HEADERS = { 'Accept': 'application/json' } as const; // 세계 주요국 증시지수 — 국내(코스피) + 해외 스냅샷 병합. 메인 세계지도 핀 (익명 열람) export async function fetchWorldIndices(): Promise> { return await fetchJson('/api/market/world-indices', { method: 'GET', headers: JSON_HEADERS }); }