On Fri, 24 Jan 2014 08:39:37 GMT, Uplink_Coder wrote:
On Fri, 24 Jan 2014 07:31:38 GMT, Ty Overby wrote:
What am I missing?
This :auto fsettings = new HTTPFileServerSettings; fsettings.serverPathPrefix = "/static"; auto router = new URLRouter; router.get("/index.html", &index); router.get("/static/*", serveStaticFiles("public/",fsettings)); // forgot this in my first answer
Thank you, that did the trick! Is there any reason that the documentation at http://vibed.org/docs under the Routing section is out of date? Am I using a newer version of Vibe.d?