aboutsummaryrefslogtreecommitdiffstats
path: root/watch.go
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2026-09-22 17:12:59 -0500
committerTim Keller <tjk@tjkeller.xyz>2026-09-22 17:12:59 -0500
commit55c7c104c0d548837c510ca831e0f1f29c210323 (patch)
tree701d392bad5d866316ca25e1cf5505cb9fc4573c /watch.go
parent4407433bd31df5526df0dd167d2d9d9d878a09d1 (diff)
downloadembedtube-55c7c104c0d548837c510ca831e0f1f29c210323.tar.xz
embedtube-55c7c104c0d548837c510ca831e0f1f29c210323.zip
use embed fs and add options for host and port + api_key_file
Diffstat (limited to 'watch.go')
-rw-r--r--watch.go2
1 files changed, 1 insertions, 1 deletions
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 {