aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2023-01-22 14:53:29 +0100
committerMatěj Cepl <mcepl@cepl.eu>2023-01-22 14:53:50 +0100
commit70c89f78a105ef2f8123fa8abd124e21e5a10b80 (patch)
treee030ef87edb66c9d5731c1c31aa11078740b89cb /templates
parent97e4ca0d7d24f5df5c331d9fba963e12368ddd84 (diff)
downloadhesla-70c89f78a105ef2f8123fa8abd124e21e5a10b80.tar.gz
Switch from amd to native ES2015 ECMAScript modules.
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html
index 5018bbe..a3b2091 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -22,7 +22,7 @@
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<title>{{ title }}</title>
- <script data-main="config" type="text/javascript" src="require.js" defer></script>
+ <script src="config.js" type="module" defer></script>
<style>
div#installButton {
display: none;