On Sunday, 17 November 2013 at 18:40:34 UTC, Jacek Furmankiewicz wrote:
It is possible to import an entire folder and subfolders of assets? (e.g. static HTML with all of its pieces, i.e. CSS, JSS. etc)

Are we talking about Vibe.d? Yes, it's possible:
http://vibed.org/docs

shared static this()
{
        auto router = new URLRouter;
        router.get("*", serveStaticFiles("./public/"));

        listenHTTP(new HTTPServerSettings, router);
}

Reply via email to