mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-22 22:49:28 -07:00
Remove trailing slash from HKP server URL
This commit is contained in:
parent
e8d087b119
commit
b65711d38b
1 changed files with 2 additions and 2 deletions
|
@ -23,8 +23,8 @@ const mergeOptions = require('merge-options')
|
|||
const fetchHKP = (identifier, keyserverBaseUrl) => {
|
||||
return new Promise(async (resolve, reject) => {
|
||||
keyserverBaseUrl = keyserverBaseUrl
|
||||
? `https://${keyserverBaseUrl}/`
|
||||
: 'https://keys.openpgp.org/'
|
||||
? `https://${keyserverBaseUrl}`
|
||||
: 'https://keys.openpgp.org'
|
||||
|
||||
const hkp = new openpgp.HKP(keyserverBaseUrl)
|
||||
const lookupOpts = {
|
||||
|
|
Loading…
Reference in a new issue