From 55c7c104c0d548837c510ca831e0f1f29c210323 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Tue, 22 Sep 2026 17:12:59 -0500 Subject: use embed fs and add options for host and port + api_key_file --- watch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'watch.go') diff --git a/watch.go b/watch.go index bc96bd9..5928d82 100644 --- a/watch.go +++ b/watch.go @@ -7,7 +7,7 @@ import ( ) var templateWatchFiles = []string{ "templates/base.html", "templates/watch.html" } -var templateWatch = template.Must(template.ParseFiles(templateWatchFiles...)) +var templateWatch = template.Must(template.ParseFS(Assets, templateWatchFiles...)) /* render template */ type WatchTemplateData struct { -- cgit v1.3.1