router.route("/*").pipe(new HTTPFileController("web/"); router.route("/files/*").pipe(new HTTPFileController("something_else/");
An HTTP request for /files/xyz.jpg returns the something_else/xyz.jpg.
If the HTTP path is a directory, then index.html is automatically appended to it. This is a brief overview of the referenced documentation above.
Never mind, I was readding wrong.