(define-page (regexp "/files/[^/]+/[^/]+") (lambda (path) (lambda () (let* ((paths (string-split path "/")) (asset_id (second paths)) (type (third paths))) (parameterize ((root-path "/home/local/andyjpb/")) (send-static-file "card-reader")) ;(send-image "select * from v_images where asset_id = @asset_id and type = @type;" asset_id type) "")) no-template: #t))