summary refs log tree commit diff stats
path: root/svc/svc.go
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-06-11 17:22:33 -0400
committerBen Morrison <ben@gbmor.dev>2019-06-11 17:31:16 -0400
commit3d2994b74c1105b4c6c8fe0c10d47d6d3541907a (patch)
tree1c1f14428e39c8322c03d77912914647ce826d06 /svc/svc.go
parent1349bbc6e6627f357065602e085be762aab06383 (diff)
downloadgetwtxt-3d2994b74c1105b4c6c8fe0c10d47d6d3541907a.tar.gz
merged indexHandler with cssHandler, updated tests
Diffstat (limited to 'svc/svc.go')
-rw-r--r--svc/svc.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/svc/svc.go b/svc/svc.go
index 6c9ee58..6284239 100644
--- a/svc/svc.go
+++ b/svc/svc.go
@@ -50,11 +50,11 @@ func newServer(port string, index *mux.Router) *http.Server {
 func setIndexRouting(index *mux.Router) {
 	index.Path("/").
 		Methods("GET", "HEAD").
-		HandlerFunc(indexHandler)
+		HandlerFunc(staticHandler)
 
 	index.Path("/css").
 		Methods("GET", "HEAD").
-		HandlerFunc(cssHandler)
+		HandlerFunc(staticHandler)
 
 	index.Path("/api").
 		Methods("GET", "HEAD").