about summary refs log tree commit diff
path: root/src/http
diff options
context:
space:
mode:
Diffstat (limited to 'src/http')
-rw-r--r--src/http/http.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/http.go b/src/http/http.go
index 5b25575..8e9eac1 100644
--- a/src/http/http.go
+++ b/src/http/http.go
@@ -25,6 +25,7 @@ func Server() {
 
 	// download / view handlers
 	r.HandleFunc("/download", downloadHandler).Methods("GET")
+	r.HandleFunc("/view", viewHandler).Methods("GET")
 
 	// index (path) handler
 	t := r.PathPrefix("/").Subrouter()