fix(completions): correct alternativeTo result URL

This commit is contained in:
Maddison Hellstrom 2019-03-14 10:32:45 -07:00
parent 76af43e9d6
commit df49bfbf4e
1 changed files with 1 additions and 2 deletions

View File

@ -102,7 +102,6 @@ completions.at.callback = (response) => {
tagline = escape(s.TagLine)
}
const desc = s.Description ? `<div class="title">${escape(s.Description)}</div>` : ""
const url = `https://alternativeto.net/${s.InternalUrl}`
let icUrl = wpDefaultIcon
if (s.HasIcon) {
@ -120,7 +119,7 @@ completions.at.callback = (response) => {
${desc}
</div>
</div>
`, { url })
`, { url: `https://${s.InternalUrl}` })
})
}