aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/nonsense-time.go
diff options
context:
space:
mode:
Diffstat (limited to 'nonsense-time.go')
-rw-r--r--nonsense-time.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/nonsense-time.go b/nonsense-time.go
index 3ffff11..2a8debc 100644
--- a/nonsense-time.go
+++ b/nonsense-time.go
@@ -63,13 +63,10 @@ func main() {
dashboard.Logger = logger
vtt := timeoutMiddleware(http.HandlerFunc(api.VttOnline), *waitTime)
- site := timeoutMiddleware(http.HandlerFunc(api.SiteOnline), *waitTime)
mux.Handle("GET /vtt/status", vtt)
mux.HandleFunc("GET /vtt", api.VttRedirect)
- mux.Handle("GET /site/status", site)
mux.HandleFunc("GET /", dashboard.Index)
- mux.HandleFunc("GET /static/", dashboard.StaticHandler)
mux.HandleFunc("GET /vtt/logs", api.VttLogs)
logger.Info(fmt.Sprint("Listening on ", addr))