-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
99 lines (92 loc) · 2.79 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, user-scalable=no" />
<title>메이크 출입관리</title>
<meta name="title" content="메이크 출입관리" />
<meta name="description" content="메이크 출입관리 시스템" />
<meta name="og:title" content="메이크 출입관리" />
<meta name="og:description" content="메이크 출입관리 시스템" />
<meta
name="og:image"
content="https://ams.make.dyhs.kr/icons/Logo-512.png"
/>
<meta name="og:url" content="https://ams.make.dyhs.kr" />
<meta name="og:site_name" content="메이크 출입관리" />
<meta name="og:locale" content="ko_KR" />
<meta name="og:type" content="website" />
<link rel="manifest" href="manifest.json" />
<meta name="theme-color" content="#FFFFFF" />
<link rel="icon" href="favicon.ico" />
<link
rel="alternate icon"
href="favicon.ico"
type="ico"
sizes="32x32"
/>
<link
rel="apple-touch-icon"
href="icons/Logo-152.png"
sizes="152x152"
/>
<meta
http-equiv="Content-Security-Policy"
content="
default-src 'self' 'unsafe-inline' https://ams.make.dyhs.kr https://ams-api.dyhs.kr;
img-src 'self' 'unsafe-inline' data: https://ams.make.dyhs.kr https://ams-api.dyhs.kr;
object-src 'self' 'unsafe-inline' https://ams.make.dyhs.kr https://ams-api.dyhs.kr;
script-src 'self' 'unsafe-inline' https://ams.make.dyhs.kr https://ams-api.dyhs.kr https://va.vercel-scripts.com;
style-src 'self' 'unsafe-inline' https://ams.make.dyhs.kr https://ams-api.dyhs.kr https://cdnjs.cloudflare.com;
font-src 'self' 'unsafe-inline' https://ams.make.dyhs.kr https://ams-api.dyhs.kr https://cdnjs.cloudflare.com;
"
/>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
<script>
document.documentElement.addEventListener(
"touchstart",
function (event) {
if (event.touches.length > 1) {
event.preventDefault();
}
},
false
);
var lastTouchEnd = 0;
document.documentElement.addEventListener(
"touchend",
function (event) {
var now = new Date().getTime();
if (now - lastTouchEnd <= 300) {
event.preventDefault();
}
lastTouchEnd = now;
},
false
);
if ("serviceWorker" in navigator) {
// Register a service worker hosted at the root of the
// site using the default scope.
navigator.serviceWorker
.register("/sw.js")
.then((registration) => {
console.log(
"Service worker registration succeeded:",
registration
);
})
.catch((err) => {
console.log(
"Service worker registration failed:",
error
);
});
} else {
console.log("Service workers are not supported.");
}
</script>
</body>
</html>