Skip to content
Snippets Groups Projects
Commit 47e60b11 authored by Maxim Filippov's avatar Maxim Filippov :new_moon_with_face:
Browse files

Merge branch 'emoji-double-links' into 'master'

Emoji double links

See merge request pleroma/admin-fe!46
parents b7c8ebec 8899157d
No related branches found
No related tags found
1 merge request!46Emoji double links
Pipeline #17527 passed
......@@ -140,8 +140,7 @@ export async function updatePackFile(host, token, args) {
}
export function addressOfEmojiInPack(host, packName, name) {
// This needs http because hackney on the BE does not understand URLs with just "//"
return `http://${baseName(host)}/emoji/${packName}/${name}`
return `${baseName(host)}/emoji/${packName}/${name}`
}
const authHeaders = (token) => token ? { 'Authorization': `Bearer ${getToken()}` } : {}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment