Hi, Nathaniel-- I don't have any specific knowledge about Awful, but I thought I'd check into this, since I am also using Chicken for web development, and Nginx is my usual HTTP server.
On Tue, Mar 24, 2015 at 10:29 AM, Nathaniel Rudavsky-Brody < [email protected]> wrote: > > Everything works fine except when I use (send-static-file) as in: > > (define-page (regexp "/file/.+") > (lambda (url) > (parameterize ((root-path (data-dir))) > (send-static-file (string-drop url 6))))) > What happens if you add the NO-TEMPLATE parameter, e.g. (define-page (regexp "/file/.+") (lambda (url) (parameterize ((root-path (data-dir))) (send-static-file (string-drop url 6)))) no-template: #t) ? HTH. PS: Why not just have Nginx serve static files? -- Matt Gushee
_______________________________________________ Chicken-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-users
