summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorPetri Hienonen <petri.hienonen@gmail.com>2025-09-28 12:09:33 +0300
committerPetri Hienonen <petri.hienonen@gmail.com>2025-09-28 12:09:33 +0300
commit2bf20fe39cd70b25f89ccd3b40d06895f25a0833 (patch)
tree509173d3e3ab980214046df156429f6de8236081 /main.go
parent47529804bef15ed84730ff3409f0d426fcef2112 (diff)
downloadnetwork-2bf20fe39cd70b25f89ccd3b40d06895f25a0833.tar.zst
Iteration
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 8b2ca32..84676e9 100644
--- a/main.go
+++ b/main.go
@@ -21,7 +21,7 @@ const (
listenAddress = ":8080"
)
-var tpl = template.Must(template.ParseFiles("index.html"))
+var tpl = template.Must(template.ParseFiles("static/index.html"))
// basicAuth wraps any http.Handler and enforces HTTP Basic Authentication.
func basicAuth(next http.Handler) http.Handler {