aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
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")