diff options
author | Pjotr Prins | 2023-08-22 10:37:41 +0200 |
---|---|---|
committer | Pjotr Prins | 2023-08-22 10:37:41 +0200 |
commit | b1c309e3ca19f7557a3917f26f933d864c926c33 (patch) | |
tree | 4d3ffd54bd865b8fbcd492c441c08684006f09d0 /web | |
parent | d06d732625fdc48677ea32b129da905ebd527c38 (diff) | |
download | gn-guile-b1c309e3ca19f7557a3917f26f933d864c926c33.tar.gz |
Remove pk statements
Diffstat (limited to 'web')
-rwxr-xr-x | web/webserver.scm | 4 |
1 files changed, 2 insertions, 2 deletions
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))))) |