forked from AkkomaGang/admin-fe
Fix emoji having double http(s) in their links
This commit is contained in:
parent
b7c8ebecd3
commit
8899157dc8
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) {
|
||||
// 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()}` } : {}
|
||||
|
|
Loading…
Reference in a new issue