Usage example
const router = statics("path/to/statics", "index.html");
app.use(router.routes());
statics
function receive two arguments: path
and index
;
const router = statics("path/to/statics", "index.html");
app.use(router.routes());
statics
function receive two arguments: path
and index
;