summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth@simponic.xyz>2024-08-17 15:48:32 -0700
committerElizabeth Hunt <elizabeth@simponic.xyz>2024-08-17 15:48:32 -0700
commit0e4c236b8a52af749b9c24f67bc33e0ff884d1a7 (patch)
treecda4aadc82a0a53c72e13e60be2cfe53e1c421d0
parenta7e376099dc6efda023cb6f6a1c10785dd074ec1 (diff)
downloadhatecomputers.club-0e4c236b8a52af749b9c24f67bc33e0ff884d1a7.tar.gz
hatecomputers.club-0e4c236b8a52af749b9c24f67bc33e0ff884d1a7.zip
remove trailing slash for kennel route
-rw-r--r--api/serve.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/serve.go b/api/serve.go
index e205ce5..a8ba0ad 100644
--- a/api/serve.go
+++ b/api/serve.go
@@ -173,7 +173,7 @@ func MakeServer(argv *args.Arguments, dbConn *sql.DB) *http.Server {
LogRequestContinuation(requestContext, r, w)(auth.VerifySessionContinuation, FailurePassingContinuation)(hcaptcha.CaptchaVerificationContinuation, hcaptcha.CaptchaVerificationContinuation)(guestbook.SignGuestbookContinuation, FailurePassingContinuation)(guestbook.ListGuestbookContinuation, guestbook.ListGuestbookContinuation)(hcaptcha.CaptchaArgsContinuation, hcaptcha.CaptchaArgsContinuation)(template.TemplateContinuation("guestbook.html", true), template.TemplateContinuation("guestbook.html", true))(LogExecutionTimeContinuation, LogExecutionTimeContinuation)(IdContinuation, IdContinuation)
})
- mux.HandleFunc("GET /kennel/", func(w http.ResponseWriter, r *http.Request) {
+ mux.HandleFunc("GET /kennel", func(w http.ResponseWriter, r *http.Request) {
requestContext := makeRequestContext()
LogRequestContinuation(requestContext, r, w)(kennel.GetKennelContinuation, FailurePassingContinuation)(LogExecutionTimeContinuation, LogExecutionTimeContinuation)(IdContinuation, IdContinuation)
})