-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
72 lines (71 loc) · 2.23 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<html lang="en">
<head>
<meta charset="UTF-8" />
<!-- PWA Setting -->
<!-- iOS notch -->
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, viewport-fit=cover"
/>
<!-- iOS 상단바 스타일 지정 -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta
name="apple-mobile-web-app-status-bar-style"
content="black-translucent"
/>
<!-- <link rel="stylesheet" href="src/assets/index.scss" /> -->
<!-- <link rel="icon" type="image/svg+xml" href="/vite.svg" /> -->
<!-- manifest setting -->
<link rel="manifest" href="/manifest.json" crossorigin="use-credentials" />
<meta name="application-name" content=" " />
<meta name="msapplication-TileColor" content="#FFFFFF" />
<meta name="msapplication-TileImage" content="/icons/mstile-144x144.png" />
<meta
name="msapplication-square70x70logo"
content="/icons/mstile-70x70.png"
/>
<meta
name="msapplication-square150x150logo"
content="/icons/mstile-150x150.png"
/>
<meta
name="msapplication-wide310x150logo"
content="/icons/mstile-310x150.png"
/>
<meta
name="msapplication-square310x310logo"
content=" /icons/mstile-310x310.png"
/>
<link rel="stylesheet" href="index.css" />
<title>함께, 하나?</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<script>
if ("serviceWorker" in navigator) {
window.addEventListener("load", function () {
this.navigator.serviceWorker
.register("/service-worker.js")
.then(
function (registration) {
console.log(
"Worker registration successful",
registration.scope
);
},
function (err) {
console.log("Worker registration failed", err);
}
)
.catch(function (err) {
console.log(err);
});
});
} else {
console.log("Service worker is not supported by browser.");
}
</script>
<div id="root"></div>
<script type="module" src="src/main.jsx"></script>
</body>
</html>