diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2021-01-09 00:49:16 -0500 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2021-01-09 00:49:16 -0500 |
| commit | e31c9168627c040317e5cc8566724f88910439ae (patch) | |
| tree | 0ce4b3de81adfe8f9af56c498a969a8a2be44280 /cmd/web/main.go | |
| parent | d762cdbae06efd194ffac7b976c16aac21a26f94 (diff) | |
| download | steam-export-e31c9168627c040317e5cc8566724f88910439ae.tar.gz steam-export-e31c9168627c040317e5cc8566724f88910439ae.tar.xz | |
Add some download stats, and a status endpoint.
Diffstat (limited to 'cmd/web/main.go')
| -rw-r--r-- | cmd/web/main.go | 1 |
1 files changed, 1 insertions, 0 deletions
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) |
