I know Express has the res.contentType() method, but how do I automatically set content type based on path/file (including static content)?

Edit
Report