diff options
author | Michael Hunteman <michael@huntm.net> | 2024-08-28 18:07:22 -0700 |
---|---|---|
committer | Michael Hunteman <michael@huntm.net> | 2024-08-28 18:07:22 -0700 |
commit | 1d2ffb8a2b6af752b6fd091e8e59682625c2b495 (patch) | |
tree | 97ddc1a0318d280cd6650f59d638e027d213263e /server/cmd | |
parent | 096a08708e2310becba56a237ef63b5cf6e3c4c4 (diff) |
Make guests endpoint plural
Diffstat (limited to 'server/cmd')
-rw-r--r-- | server/cmd/main.go | 2 |
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))) } |