// install the pretty error handler middleware
yoke.use(new ErrorHandler(true));
// install the favicon middleware
yoke.use(new Favicon());
// install custom middleware to identify the domain
yoke.use(new DomainMiddleware(config));
// install the static file server
// note that since we are mounting under /static the root for the static middleware
// will always be prefixed with /static
yoke.use("/static", new Static("."));
// install the BasicAuth middleware