Remove old logging statement

This commit is contained in:
Shadowfacts 2019-12-22 18:54:07 -05:00
parent 9f7d57ea53
commit f99c85de8d
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
1 changed files with 0 additions and 1 deletions

View File

@ -58,7 +58,6 @@ export async function toFederate(): Promise<[string, ArticleObject][]> {
export function route(router: Router) { export function route(router: Router) {
router.use("/:category/:year/:slug/", async (req, res, next) => { router.use("/:category/:year/:slug/", async (req, res, next) => {
const best = req.accepts(["text/html", "application/activity+json"]); const best = req.accepts(["text/html", "application/activity+json"]);
console.log(best);
if (best === "text/html") { if (best === "text/html") {
next(); next();
} else if (best === "application/activity+json") { } else if (best === "application/activity+json") {