aboutsummaryrefslogtreecommitdiff
path: root/cmd/web/main.go
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2021-01-09 15:22:27 -0500
committerMitch Riedstra <mitch@riedstra.us>2021-01-09 15:22:27 -0500
commit602790e2ca33ad7f22235bf2ae548cef7db8b814 (patch)
treef79fc9a7f6e019a3f2a774e13d030937b3ae9f86 /cmd/web/main.go
parente31c9168627c040317e5cc8566724f88910439ae (diff)
downloadsteam-export-602790e2ca33ad7f22235bf2ae548cef7db8b814.tar.gz
steam-export-602790e2ca33ad7f22235bf2ae548cef7db8b814.tar.xz
Add a progress bar to the UI for installation via HTTP. Uses polling, but whatever.
Diffstat (limited to 'cmd/web/main.go')
-rw-r--r--cmd/web/main.go1
1 files changed, 1 insertions, 0 deletions
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{