48 lines
2.0 KiB
HTML
48 lines
2.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="ko">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
|
|
<meta name="theme-color" content="#1976d2" />
|
|
<meta name="description" content="Golden Analysis - 투자전략 성능 분석 프로그램" />
|
|
|
|
<!-- 캐시 무효화 -->
|
|
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
|
|
<meta http-equiv="Pragma" content="no-cache" />
|
|
<meta http-equiv="Expires" content="0" />
|
|
|
|
<!-- 빌드 버전 (캐시 식별용) -->
|
|
<meta name="build-time" content="%REACT_APP_BUILD_TIME%" />
|
|
<meta name="cache-bust" content="%REACT_APP_CACHE_BUST%" />
|
|
|
|
<title>Golden Analysis</title>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
<div id="root"></div>
|
|
|
|
<!-- ✅ Service Worker 제거 (개발 중 캐시 문제 방지) -->
|
|
<script>
|
|
if ('serviceWorker' in navigator) {
|
|
navigator.serviceWorker.getRegistrations().then(function(registrations) {
|
|
for (let registration of registrations) {
|
|
registration.unregister();
|
|
console.log('🗑️ Service Worker 제거됨:', registration);
|
|
}
|
|
});
|
|
}
|
|
|
|
// 빌드 버전 콘솔 출력
|
|
const buildTime = document.querySelector('meta[name="build-time"]')?.getAttribute('content');
|
|
const cacheBust = document.querySelector('meta[name="cache-bust"]')?.getAttribute('content');
|
|
console.log('🔨 빌드 시간:', buildTime || 'unknown');
|
|
console.log('🔨 캐시 버스트:', cacheBust || 'unknown');
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|