A self-hosted dashboard that puts all your feeds in one place
Go aggregatordashboarddockerfeed-readergohomelabhomepagemonitoringredditrssrss-readerself-hostedstartpageyoutube
Make script a module
Svilen Markov917d51e54bbb
diff --git a/internal/assets/static/main.js b/internal/assets/static/main.jsindex fb86b02..e8a200f 100644--- a/internal/assets/static/main.js+++ b/internal/assets/static/main.js@@ -570,8 +570,4 @@ async function setupPage() {}}-if (document.readyState === "loading") {- document.addEventListener("DOMContentLoaded", setupPage);-} else {- setupPage();-}+setupPage();diff --git a/internal/assets/templates/document.html b/internal/assets/templates/document.htmlindex e044733..e43a406 100644--- a/internal/assets/templates/document.html+++ b/internal/assets/templates/document.html@@ -16,7 +16,7 @@<link rel="manifest" href="/static/manifest.json"><link rel="icon" type="image/png" href="{{ .App.AssetPath "favicon.png" }}" /><link rel="stylesheet" href="{{ .App.AssetPath "main.css" }}">- <script async src="{{ .App.AssetPath "main.js" }}"></script>+ <script type="module" src="{{ .App.AssetPath "main.js" }}"></script>{{ block "document-head-after" . }}{{ end }}</head><body>