On Thu, 16 Jul 2015 19:17:14 GMT, Sönke Ludwig wrote:
One thing you could do is to add a second
serveStaticFiles
route and pass "/nested/" as theHTTPFileServerSettings.serverPathPrefix
.Another, more efficient, possibility would be to add a
"*"
route right before theserveStaticFiles
one and remove the "/nested" prefix fromHTTPServerRequest.path
therein, if there is one. If you'd want to generalize this, you could of course also drop any prefix up to the last'/'
.
The first method runs just fine. That's what I was looking for. Thanks for the solution. ;)