From e6c965ac0033a32dfa19c13701b6cd087c92385a Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Sat, 5 Aug 2023 16:15:15 -0400 Subject: [dynamic] Re-implement RSVP using SSR --- haunt/api.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'haunt/api.scm') diff --git a/haunt/api.scm b/haunt/api.scm index b6093f6..6a104dd 100644 --- a/haunt/api.scm +++ b/haunt/api.scm @@ -77,8 +77,8 @@ (('POST "api" "comment" "react") put-reaction) (('GET "apps" "gallery") get-gallery) - (('GET "api" "rsvp" "event-info") get-event-info) - (('POST "api" "rsvp") post-event-rsvp) + (('GET "apps" "rsvp" "event-info") get-event-info) + (('POST "apps" "rsvp") post-event-rsvp) (_ (lambda (. args) (not-found request))))) request body)))))) @@ -105,4 +105,4 @@ (values (wrap-response response) resp-body))) (format #t "Server started.~%") -(run-server main-request-handler 'http `(#:addr ,INADDR_ANY #:port 8080)) +(run-server main-request-handler 'http `(#:addr ,INADDR_ANY #:port (%api-server-port))) -- cgit v1.3