Remove _metadata and _module routes

See #185
This commit is contained in:
Michael Jackson
2019-05-18 21:43:48 -07:00
parent bc69d086f7
commit bade9a8d28
3 changed files with 2 additions and 36 deletions

View File

@ -7,7 +7,6 @@ import serveStaticFile from './serveStaticFile';
* Send the file, JSON metadata, or HTML directory listing.
*/
export default function serveFile(req, res) {
// Deprecated.
if (req.query.meta != null) {
return serveMetadata(req, res);
}
@ -16,7 +15,6 @@ export default function serveFile(req, res) {
return serveAutoIndexPage(req, res);
}
// Deprecated.
if (req.query.module != null) {
return serveModule(req, res);
}