Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const FIELD__LIKES = 'likes';
const FIELD__LINK_ATTACHMENT_URL = 'link_attachment_url';
const FIELD__MEDIA_TYPE = 'media_type';
const FIELD__MEDIA_URL = 'media_url';
const FIELD__GIF_URL = 'gif_url';
const FIELD__PERMALINK = 'permalink';
const FIELD__POLL_ATTACHMENT = 'poll_attachment';
const FIELD__REPLIES = 'replies';
Expand Down Expand Up @@ -492,6 +493,7 @@ app.get('/threads/:threadId', loggedInUserChecker, async (req, res) => {
FIELD__TEXT,
FIELD__MEDIA_TYPE,
FIELD__MEDIA_URL,
FIELD__GIF_URL,
FIELD__PERMALINK,
FIELD__TIMESTAMP,
FIELD__IS_REPLY,
Expand Down
4 changes: 4 additions & 0 deletions views/thread.pug
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ block content
td Media URL
td
a(href=media_url target='_blank') #{media_url}
tr
td GIF URL
td
a(href=gif_url target='_blank') #{gif_url}
tr
td Alt Text
td #{alt_text}
Expand Down