Fix raw link broken from hyperaxe rewrite

This commit is contained in:
Christian Bundy 2019-06-27 15:10:17 -07:00
parent 3a11162455
commit 936b73dc64
No known key found for this signature in database
GPG Key ID: EB541AAEF4366237
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ module.exports = ({ msg }) => {
likeForm: `/like/${encodedKey}`,
context: `/thread/${encodedKey}#${encodedKey}`,
avatar: msg.value.meta.author.avatar.url,
raw: `raw/${encodedKey}`
raw: `/raw/${encodedKey}`
}
const isPrivate = Boolean(msg.value.meta.private)