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:41:02 -0400
committerGitHub <noreply@github.com>2019-06-11 17:41:02 -0400
commitd4af885c40ba55ea0ed9adade98afe0658099c47 (patch)
tree1c1f14428e39c8322c03d77912914647ce826d06 /svc/svc.go
parent1349bbc6e6627f357065602e085be762aab06383 (diff)
parent3d2994b74c1105b4c6c8fe0c10d47d6d3541907a (diff)
downloadgetwtxt-d4af885c40ba55ea0ed9adade98afe0658099c47.tar.gz
Merge pull request #3 from getwtxt/merge-indexHandler-cssHandler
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").