aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-24 21:15:44 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-24 21:15:44 +0800
commit2210248c10ea45ab3f914b767d8a9186ec409015 (patch)
tree347f3a7ec70fd2153b59a6b9e1e999aeff2b1a50
parentFix JS licensing (diff)
downloadpowxy-2210248c10ea45ab3f914b767d8a9186ec409015.tar.gz
powxy-2210248c10ea45ab3f914b767d8a9186ec409015.tar.zst
powxy-2210248c10ea45ab3f914b767d8a9186ec409015.zip
Move <script> to the head
-rw-r--r--challenge.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/challenge.html b/challenge.html
index 98d95e0..76bb479 100644
--- a/challenge.html
+++ b/challenge.html
@@ -9,6 +9,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Proof-of-work challenge</title>
<link rel="stylesheet" href="/.powxy/static/style.css" />
+ <script src="/.powxy/static/main.js">
+ </script>
</head>
<body data-identifier="{{ .Identifier }}" data-difficulty="{{ .Global.NeedBits }}">
<main>
@@ -49,8 +51,5 @@
<p class="somewhat-transparent"><a href="/.powxy/static/solver.c">A C implementation of the challenge solver</a> is available.</p>
</section>
</main>
-
- <script src="/.powxy/static/main.js">
- </script>
</body>
</html>