aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2020-09-10 15:14:35 +0300
committerTulir Asokan <tulir@maunium.net>2020-09-10 15:14:35 +0300
commit89861f8a2cae4ae9489cfc3fe2826c1e21d9b4db (patch)
treefcfac691d42800c8f9a6fad704d39d48227bb26d
parent9e72458ad0226caa9279f0430594442529d9a709 (diff)
Add preload links
-rw-r--r--web/index.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/web/index.html b/web/index.html
index 66ebff4..2504184 100644
--- a/web/index.html
+++ b/web/index.html
@@ -4,11 +4,18 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Maunium sticker picker</title>
+
+ <link rel="modulepreload" href="./widget-api.js"/>
+ <link rel="modulepreload" href="./frequently-used.js"/>
+ <link rel="modulepreload" href="./spinner.js"/>
+ <link rel="modulepreload" href="https://unpkg.com/htm/preact/index.mjs?module"/>
+ <link rel="preload" href="packs/index.json" as="fetch" type="application/json" crossorigin/>
+
<link rel="stylesheet" href="index.css"/>
<link rel="stylesheet" href="spinner.css"/>
+ <script src="index.js" type="module"></script>
</head>
<body>
<noscript>This sticker picker requires JavaScript</noscript>
- <script src="index.js" type="module"></script>
</body>
</html>
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage