From 602790e2ca33ad7f22235bf2ae548cef7db8b814 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Sat, 9 Jan 2021 15:22:27 -0500 Subject: Add a progress bar to the UI for installation via HTTP. Uses polling, but whatever. --- 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 a16f15f..d926a20 100644 --- a/cmd/web/main.go +++ b/cmd/web/main.go @@ -155,6 +155,7 @@ func main() { r.HandleFunc("/download/{game}", gameDownloader) r.HandleFunc("/status", statsHandler) r.HandleFunc("/style.css", cssHandler) + r.HandleFunc("/main.js", jsHandler) r.HandleFunc("/", index) s := http.Server{ -- cgit v1.2.3