summaryrefslogtreecommitdiff
path: root/srv/src/http/tpl/follow.html
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-05-20 13:37:43 -0600
committerBrian Picciano <mediocregopher@gmail.com>2022-05-20 13:37:43 -0600
commit16cfbd19157df76e7296dddb287412f1099feb33 (patch)
treee4bbf892066cceeaeeaee4c25e5365152412a1c3 /srv/src/http/tpl/follow.html
parent3cdee89c961ae9c836234f5aec87174a04a800a8 (diff)
Move static assets to within srv
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 = "";