Skip to content
Snippets Groups Projects
Commit 8899157d authored by vaartis's avatar vaartis
Browse files

Fix emoji having double http(s) in their links

parent b7c8ebec
No related branches found
No related tags found
1 merge request!46Emoji double links
......@@ -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