forked from AkkomaGang/admin-fe
Merge branch 'emoji-double-links' into 'master'
Emoji double links See merge request pleroma/admin-fe!46
This commit is contained in:
commit
47e60b11a7
1 changed files with 1 additions and 2 deletions
|
@ -140,8 +140,7 @@ export async function updatePackFile(host, token, args) {
|
||||||
}
|
}
|
||||||
|
|
||||||
export function addressOfEmojiInPack(host, packName, name) {
|
export function addressOfEmojiInPack(host, packName, name) {
|
||||||
// This needs http because hackney on the BE does not understand URLs with just "//"
|
return `${baseName(host)}/emoji/${packName}/${name}`
|
||||||
return `http://${baseName(host)}/emoji/${packName}/${name}`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const authHeaders = (token) => token ? { 'Authorization': `Bearer ${getToken()}` } : {}
|
const authHeaders = (token) => token ? { 'Authorization': `Bearer ${getToken()}` } : {}
|
||||||
|
|
Loading…
Reference in a new issue