From b1c309e3ca19f7557a3917f26f933d864c926c33 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Tue, 22 Aug 2023 10:37:41 +0200 Subject: Remove pk statements --- web/webserver.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/webserver.scm') diff --git a/web/webserver.scm b/web/webserver.scm index 6be0890..17f5716 100755 --- a/web/webserver.scm +++ b/web/webserver.scm @@ -66,7 +66,7 @@ (list (append extra-headers '((content-type . (text/html)))) (lambda (port) - (sxml->html (view-doc (pk path) (pk page) rec) port)))) + (sxml->html (view-doc path page rec) port)))) (define (render-json json) (list '((content-type . (application/json))) @@ -117,7 +117,7 @@ (request-method request) (uri-path (request-uri request))) (apply values - ((controller (pk request) body) + ((controller request body) (cons (request-method request) (request-path-components request))))) -- cgit v1.2.3