about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/http/http.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/http.go b/src/http/http.go
index bca2d79..5b25575 100644
--- a/src/http/http.go
+++ b/src/http/http.go
@@ -23,8 +23,10 @@ func Server() {
 	fs := http.FileServer(http.Dir("./hosted/assets"))
 	assets.PathPrefix("/").Handler(http.StripPrefix("/assets/", fs))
 
+	// download / view handlers
 	r.HandleFunc("/download", downloadHandler).Methods("GET")
 
+	// index (path) handler
 	t := r.PathPrefix("/").Subrouter()
 	t.PathPrefix("/").HandlerFunc(pathHandler)