summaryrefslogtreecommitdiff
path: root/grimtube.go
diff options
context:
space:
mode:
Diffstat (limited to 'grimtube.go')
-rw-r--r--grimtube.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/grimtube.go b/grimtube.go
index 1cfccc0..afe15dc 100644
--- a/grimtube.go
+++ b/grimtube.go
@@ -203,7 +203,7 @@ func main() {
http.HandleFunc("/", index)
http.HandleFunc("/search", search)
http.HandleFunc("/embed", embed)
- http.HandleFunc("/stream", loadurls)
+ http.HandleFunc("/stream", stream)
log.Printf("Listening on port %d\n", *port)
log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", *port), nil))