summaryrefslogtreecommitdiff
path: root/server/cmd/main.go
diff options
context:
space:
mode:
authorMichael Hunteman <michael@huntm.net>2024-08-28 18:07:22 -0700
committerMichael Hunteman <michael@huntm.net>2024-08-28 18:07:22 -0700
commit1d2ffb8a2b6af752b6fd091e8e59682625c2b495 (patch)
tree97ddc1a0318d280cd6650f59d638e027d213263e /server/cmd/main.go
parent096a08708e2310becba56a237ef63b5cf6e3c4c4 (diff)
Make guests endpoint plural
Diffstat (limited to 'server/cmd/main.go')
-rw-r--r--server/cmd/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/cmd/main.go b/server/cmd/main.go
index 38ccf37..21cdccc 100644
--- a/server/cmd/main.go
+++ b/server/cmd/main.go
@@ -36,7 +36,7 @@ func main() {
adminHandler := admin.NewAdminHandler(adminStore, guestStore)
mux := http.NewServeMux()
- mux.Handle("/guest/", guestHandler)
+ mux.Handle("/guests/", guestHandler)
mux.Handle("/admin/", adminHandler)
log.Fatal(http.ListenAndServe(":8080", serveHTTP(mux)))
}