aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/server/main.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd/server/main.go b/cmd/server/main.go
index 7f9041e..0d65bb7 100644
--- a/cmd/server/main.go
+++ b/cmd/server/main.go
@@ -137,11 +137,9 @@ func main() {
})
})
})
- http.Handle("/", http.FileServer(http.Dir("/tmp")))
// Example
r.Get("/test.html", handleExample(renderer))
- r.Get("/test-again.html", handleExample(renderer))
r.Route("/", func(r chi.Router) {
r.Get("/", handleIndex(renderer))