On Thursday, 22 September 2016 at 09:14:46 UTC, Martin
Tschierschke wrote:
On Thursday, 22 September 2016 at 01:38:12 UTC, Gestalt Theory
wrote:
3. How to serve static files properly?
sendFile(req, res, Path(req.path));
Does the trick inside the handler.
@5. There is a solution, hopefull
Just to point 3. I hope I can give a hint, the problem is, that
the match is not the * but /images/*, so
router.get("/images/*", serveStaticFiles("images/"))
will look in PROJECTHOME/images/images/ for the file.
For my .css files located in
PROJECTHOME/public/styles/
I used:
router.get("/style
1. I get this error when trying to run a project in VS. dub
doesn't give the error.
First-chance exception: core.exception.AssertError free() called
with null array. at vibe-d-0.7.26\source\vibe\utils\memory.d(110)
It constantly pops up then I get an access violation and crash.
2. Many vibe