summaryrefslogtreecommitdiff
path: root/srv/src/http/tpl/follow.html
diff options
context:
space:
mode:
Diffstat (limited to 'srv/src/http/tpl/follow.html')
-rw-r--r--srv/src/http/tpl/follow.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/srv/src/http/tpl/follow.html b/srv/src/http/tpl/follow.html
index 8cf9dc6..48b7541 100644
--- a/srv/src/http/tpl/follow.html
+++ b/srv/src/http/tpl/follow.html
@@ -1,6 +1,6 @@
{{ define "body" }}
-<script async type="module" src="/assets/api.js"></script>
+<script async type="module" src="{{ StaticURL "api.js" }}"></script>
<p>
Here's your options for receiving updates about new blog posts:
@@ -67,7 +67,7 @@ const emailStatus = document.getElementById("emailStatus");
emailSubscribe.onclick = async () => {
- const api = await import("/assets/api.js");
+ const api = await import("{{ StaticURL "api.js" }}");
emailSubscribe.disabled = true;
emailSubscribe.className = "";