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.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/http/http.go b/src/http/http.go
index 1ab3afb..195a0f6 100644
--- a/src/http/http.go
+++ b/src/http/http.go
@@ -18,9 +18,9 @@ func Server() {
 	r := mux.NewRouter()
 
 	// static js / css hosting
-	static := r.PathPrefix("/static/").Subrouter()
-	fs := http.FileServer(http.Dir("./hosted/static"))
-	static.PathPrefix("/").Handler(http.StripPrefix("/static/", fs))
+	assets := r.PathPrefix("/assets/").Subrouter()
+	fs := http.FileServer(http.Dir("./hosted/assets"))
+	assets.PathPrefix("/").Handler(http.StripPrefix("/assets/", fs))
 
 	r.HandleFunc("/download", downloadHandler).Methods("GET")