-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
30 lines (29 loc) · 1009 Bytes
/
index.html
File metadata and controls
30 lines (29 loc) · 1009 Bytes
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
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8" />
<meta name="author" content="QingzhiStar" />
<title>Gluttonous Snake</title>
<link rel="icon" href="https://dotown.maeda-design-room.net/wp-content/uploads/2022/01/food_soda_s_01.png" />
</head>
<body>
<div id="container">
Canvas Container
</div>
</body>
<script>
//auto generated by webpack
if ("serviceWorker" in navigator) {
window.addEventListener("load", () => {
navigator.serviceWorker
.register("service-worker.js")
.then((registration) => {
console.log("Service Worker registered: ", registration);
})
.catch((registrationError) => {
console.error("Service Worker registration failed: ", registrationError);
});
});
}
</script>
</html>