aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorFelix Hanley <felix@userspace.com.au>2020-02-20 03:04:02 +0000
committerFelix Hanley <felix@userspace.com.au>2020-02-20 03:04:02 +0000
commit7d18480b3e1df4233e0b540909931a99d4fe3b71 (patch)
tree1ca1dd91cc38211b2378f2641494c390d5a4871a /cmd
parentdcc9d4bf599eeeffee615cf198b2b74734bcaa48 (diff)
downloadsws-7d18480b3e1df4233e0b540909931a99d4fe3b71.tar.gz
sws-7d18480b3e1df4233e0b540909931a99d4fe3b71.tar.bz2
Disable debug
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))