-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
54 lines (51 loc) · 1.42 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
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta name="theme-color" content="#343434" />
<link rel="icon" href="/icons/logo-196.png" type="image/png" />
<link
rel="alternate icon"
href="/icons/logo.ico"
type="ico"
sizes="16x16"
/>
<link rel="apple-touch-icon" href="/icons/logo-152.png" sizes="180x180" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- <link rel="manifest" href="/manifest.json" /> -->
<title>Dashify</title>
<style>
noscript {
font-weight: 600;
}
</style>
</head>
<body>
<noscript>
We're sorry but Dashify doesn't work properly without JavaScript enabled.
Please enable it to continue.
<br />
죄송하지만 Dashify를 구동하기 위해서는 JavaScript가 필요합니다.
JavaScript를 활성화해 주세요.
</noscript>
<div id="root"></div>
<script>
const disableMenu = () => {
const { hostname, port } = window.location;
if (hostname === 'localhost' && port === '5173') {
return;
}
document.addEventListener(
'contextmenu',
(e) => {
e.preventDefault();
return false;
},
{ capture: true }
);
};
disableMenu();
</script>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>