From e31c9168627c040317e5cc8566724f88910439ae Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Sat, 9 Jan 2021 00:49:16 -0500 Subject: Add some download stats, and a status endpoint. --- cmd/web/main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd/web/main.go') diff --git a/cmd/web/main.go b/cmd/web/main.go index 0f76670..a16f15f 100644 --- a/cmd/web/main.go +++ b/cmd/web/main.go @@ -153,6 +153,7 @@ func main() { r.HandleFunc("/install", gameInstaller) r.HandleFunc("/steam-export-web.exe", serveSelf) r.HandleFunc("/download/{game}", gameDownloader) + r.HandleFunc("/status", statsHandler) r.HandleFunc("/style.css", cssHandler) r.HandleFunc("/", index) -- cgit v1.2.3