aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorTim Keller <tjkeller.xyz>2025-05-23 22:12:05 -0500
committerTim Keller <tjkeller.xyz>2025-05-23 22:12:05 -0500
commit285c3e573e1d01b952342aeaf91aa09303883ebf (patch)
tree11338a9e0924bb1e18303c5f07e651ef44b4d34d /main.go
parent865911f8ffdac7d1d9773570216c0bd35fc601d9 (diff)
downloadmintube-285c3e573e1d01b952342aeaf91aa09303883ebf.tar.xz
mintube-285c3e573e1d01b952342aeaf91aa09303883ebf.zip
docker support and readme
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 eb56d90..160230b 100644
--- a/main.go
+++ b/main.go
@@ -12,7 +12,7 @@ import (
)
const youtubeAPI = "https://www.googleapis.com/youtube/v3/"
-var tmpl = template.Must(template.ParseFiles("template.html"))
+var tmpl = template.Must(template.ParseFiles("templates/watch.html"))
func apiRequest(w http.ResponseWriter, r *http.Request, endpoint string, videoIdParam string, part string) {
videoID := r.URL.Query().Get("id")