-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
49 lines (49 loc) · 2.03 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#ffffff" />
<link rel="icon" href="/favicon.ico" />
<link rel="apple-touch-icon" href="/icons/AppIcon.svg" sizes="240x240" />
<link rel="mask-icon" href="/icons/AppIcon.svg" color="#FFFFFF" />
<link rel="manifest" href="/manifest.json" />
<link rel="preload" href="/Logo.svg" as="image" />
<link
rel="preload"
href="/reset.css"
as="style"
onload="this.rel='stylesheet'"
/>
<link rel="preload" href="https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous">
<link rel="preload" href="https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-SemiBold.woff2" as="font" type="font/woff2" crossorigin="anonymous">
<link rel="preload" href="https://cdn.jsdelivr.net/gh/fonts-archive/Pretendard/Pretendard-Bold.woff2" as="font" type="font/woff2" crossorigin="anonymous">
<link rel="preconnect" href="https://s3.ap-northeast-2.amazonaws.com" />
<link rel="preconnect" href="https://tfinder.store" />
<title>미어켓</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
<script>
if ("serviceWorker" in navigator) {
navigator.serviceWorker
.register("/sw.js")
.then((registration) => {
console.log("Service Worker 등록 성공:", registration);
})
.catch((error) => {
console.error("Service Worker 등록 실패:", error);
});
navigator.serviceWorker
.register("/firebase-messaging-sw.js")
.then((registration) => {
console.log("Firebase Service Worker 등록 성공:", registration);
})
.catch((error) => {
console.error("Firebase Service Worker 등록 실패:", error);
});
}
</script>
</body>
</html>