logging
This commit is contained in:
parent
007635213a
commit
2bfcf63e4a
|
@ -60,6 +60,8 @@ app.get(Routes.activity, async (req, res) => {
|
|||
const article = await getById(id);
|
||||
|
||||
if (article) {
|
||||
console.log("Request headers for activity route:", req.headers);
|
||||
|
||||
if (req.accepts("html")) {
|
||||
res.redirect(`/${article.slug}.html`);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue