|
7 | 7 | <link rel="apple-touch-icon" href="/tutice.png" /> |
8 | 8 | <link rel="shortcut icon" href="/tutice.png" /> |
9 | 9 | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> |
10 | | - <meta name=" apple-mobile-web-app-capable" content="yes" /> |
| 10 | + <meta name="apple-mobile-web-app-capable" content="yes" /> |
11 | 11 | <meta name="mobile-web-app-capable" content="yes" /> |
| 12 | + <meta name="theme-color" content="#ffffff" /> |
| 13 | + <meta name="description" content="๊ณผ์ธ ๊ด๋ฆฌ์ ์๋ก์ด ํ์ค Tutice๋ฅผ ๊ฒฝํํด๋ณด์ธ์" /> |
12 | 14 | <meta property="og:title" content="Tutice: ์ฌ์ด ์์
๊ด๋ฆฌ๋ก ์ด๋ฆฌ๋ ์ ํํ ๋์ ๊ฒฐ์ค" /> |
13 | 15 | <meta property="og:description" content="๊ณผ์ธ ๊ด๋ฆฌ์ ์๋ก์ด ํ์ค Tutice๋ฅผ ๊ฒฝํํด๋ณด์ธ์" /> |
14 | 16 | <meta property="og:image" content="/og_img.png" /> |
| 17 | + <meta property="og:url" content="https://www.tutice.com" /> |
| 18 | + <meta name="twitter:card" content="summary_large_image" /> |
| 19 | + <meta name="twitter:title" content="Tutice: ์ฌ์ด ์์
๊ด๋ฆฌ๋ก ์ด๋ฆฌ๋ ์ ํํ ๋์ ๊ฒฐ์ค" /> |
| 20 | + <meta name="twitter:description" content="๊ณผ์ธ ๊ด๋ฆฌ์ ์๋ก์ด ํ์ค Tutice๋ฅผ ๊ฒฝํํด๋ณด์ธ์" /> |
| 21 | + <meta name="twitter:image" content="/og_img.png" /> |
15 | 22 |
|
16 | | - <link rel="/manifest" href="js13kpwa.webmanifest" /> |
| 23 | + <!-- <link rel="/manifest" href="js13kpwa.webmanifest" /> --> |
17 | 24 | <link rel="manifest" href="manifest.json" /> |
18 | 25 | <link rel="stylesheet" as="style" crossorigin |
19 | 26 | href=" https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/static/pretendard.css" /> |
|
88 | 95 | } |
89 | 96 | } |
90 | 97 | }); |
| 98 | + |
| 99 | +// ์๋น์ค ์์ปค ๋ฑ๋ก |
| 100 | + if ('serviceWorker' in navigator) { |
| 101 | + window.addEventListener('load', function () { |
| 102 | + navigator.serviceWorker |
| 103 | + .register("firebase-messaging-sw.js") |
| 104 | + .then(function (registration) { |
| 105 | + console.log("Service Worker ๋ฑ๋ก ์ฑ๊ณต:", registration); |
| 106 | + }) |
| 107 | + .catch(function (error) { |
| 108 | + console.log("Service Worker ๋ฑ๋ก ์คํจ:", error); |
| 109 | + }); |
| 110 | + }); |
| 111 | + } |
91 | 112 | </script> |
92 | 113 |
|
93 | 114 | <title>Tutice</title> |
|
0 commit comments