Closed nha closed 8 years ago
Thanks Nicolas for bringing this to my attention. I'm a bit perplexed, but I suppose a good first step for investigating would be a minimal reproduction case repo?
It looks like it is not due to the Clojure version (I started making a small project to reproduces but it serves the directory listing correctly). I will have to dig a bit more to make a minimal reproduction case.
Closing since I used boot-http in another project and it worked fine - will reopen if I manage to make a reliable minimal reproduction. Thanks !
This works (from inside the
target
directory):Navigating to
localhost:5002
shows the correctindex.html
page.But this doesn't (from the root of the project - No data received ERR_EMPTY_RESPONSE):
So into the root of the project it seems to pickup some settings (from my
boot
file ?), there is a warning aboutclojure 1.8
used in my project. So there is something in my configuration that triggers a warning - and boot-http not to serve files. Note that the equivalent in myboot
file fails as well (without warning) :(serve :port 5003, :dir "target")
What would be needed to start investigating ?