Re: [racket-users] Serving my web application and some static files

2019-01-30 Thread Stephen De Gabrielle
I think you need your servlet regexp to not match /static/ Something like this? #:servlet-regexp #rx"^(? wrote: Thanks! It's true that the #:extra-files-paths works fine if I'm happy enough with its contents not being "mounted" under a separate path. I guess that's fine for now, though I rea

Re: [racket-users] Serving my web application and some static files

2019-01-30 Thread Christopher Lemmer Webber
Thanks! It's true that the #:extra-files-paths works fine if I'm happy enough with its contents not being "mounted" under a separate path. I guess that's fine for now, though I really would like to figure out how to compose servlets and dispatchers the "proper" way. :) Stephen De Gabrielle write

Re: [racket-users] Serving my web application and some static files

2019-01-30 Thread Stephen De Gabrielle
Hi The contine tutorial has a good bit on serving static files: The bit on #:extra-files-paths: https://docs.racket-lang.org/continue/index.html#%28part._.Leaving_.Dr.Racket%29 This is what I did https://github.com/spdegabrielle/clash main.rkt Sorry bit of a rush- let me know if I’m making sen

[racket-users] Serving my web application and some static files

2019-01-30 Thread Christopher Lemmer Webber
It seems like it should be so simple, and like Racket has the tools already, but I can't figure out how to do it. I have the following: (serve/servlet start #:servlet-regexp #rx"" #:launch-browser? #f) I'd like to do something like the following: - Serve st