forked from shadowfacts/shadowfacts.net
Remove old logging statement
This commit is contained in:
parent
9f7d57ea53
commit
f99c85de8d
|
@ -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") {
|
||||||
|
|
Loading…
Reference in New Issue