diff options
Diffstat (limited to 'dynamic/api.scm')
| -rw-r--r-- | dynamic/api.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dynamic/api.scm b/dynamic/api.scm index 22a9856..86bc23d 100644 --- a/dynamic/api.scm +++ b/dynamic/api.scm @@ -65,10 +65,10 @@ (cons '(Access-Control-Allow-Origin . "*") response))) (let* ((path-encoded (uri-path (request-uri request))) (path (split-and-decode-uri-path path-encoded))) - (define-values (response body) + (define-values (response resp-body) (if (string= "api" (first path)) (handle-api-request request body (drop path 1)) (not-found request))) - (values (wrap-response response) body))) + (values (wrap-response response) resp-body))) (run-server main-request-handler) |