Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
admin-fe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pleroma
admin-fe
Merge requests
!46
Emoji double links
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Emoji double links
vaartis/admin-fe:emoji-double-links
into
master
Overview
0
Commits
1
Pipelines
2
Changes
1
Merged
vaartis
requested to merge
vaartis/admin-fe:emoji-double-links
into
master
5 years ago
Overview
0
Commits
1
Pipelines
2
Changes
1
Expand
Sorry, should've known better
/cc
@maxf
0
0
Merge request reports
Viewing commit
8899157d
Show latest version
1 file
+
1
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
8899157d
Fix emoji having double http(s) in their links
· 8899157d
vaartis
authored
5 years ago
src/api/emoji_packs.js
+
1
−
2
Options
@@ -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