diff options
Diffstat (limited to 'server/cmd')
-rw-r--r-- | server/cmd/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/cmd/main.go b/server/cmd/main.go index 21cdccc..a180cc4 100644 --- a/server/cmd/main.go +++ b/server/cmd/main.go @@ -36,8 +36,8 @@ func main() { adminHandler := admin.NewAdminHandler(adminStore, guestStore) mux := http.NewServeMux() - mux.Handle("/guests/", guestHandler) - mux.Handle("/admin/", adminHandler) + mux.Handle("/api/guests/", guestHandler) + mux.Handle("/api/admin/", adminHandler) log.Fatal(http.ListenAndServe(":8080", serveHTTP(mux))) } |