aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2026-05-22 10:37:15 -0500
committerTim Keller <tjk@tjkeller.xyz>2026-05-22 10:37:15 -0500
commit4407433bd31df5526df0dd167d2d9d9d878a09d1 (patch)
treee32ddd96d2cf3bf696d8813f354961e44323414a /main.go
parent013753b666cfbae213921af4193620c6b356fbf6 (diff)
downloadembedtube-4407433bd31df5526df0dd167d2d9d9d878a09d1.tar.xz
embedtube-4407433bd31df5526df0dd167d2d9d9d878a09d1.zip
support yt url queries for start time, etcHEADmaster
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 3c6b79a..ff13499 100644
--- a/main.go
+++ b/main.go
@@ -18,7 +18,7 @@ func rootHandler(w http.ResponseWriter, r *http.Request) {
//http.ServeFile(w, r, "static/index.html")
renderIndexTemplate(w)
} else {
- renderWatchTemplate(w, path) // FIXME just redirect this one to /watch for simplicity
+ renderWatchTemplate(w, path, r.URL.RawQuery) // FIXME just redirect this one to /watch for simplicity
}
}