mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2025-01-10 06:39:27 -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) => {
|
const fetchHKP = (identifier, keyserverBaseUrl) => {
|
||||||
return new Promise(async (resolve, reject) => {
|
return new Promise(async (resolve, reject) => {
|
||||||
keyserverBaseUrl = keyserverBaseUrl
|
keyserverBaseUrl = keyserverBaseUrl
|
||||||
? `https://${keyserverBaseUrl}/`
|
? `https://${keyserverBaseUrl}`
|
||||||
: 'https://keys.openpgp.org/'
|
: 'https://keys.openpgp.org'
|
||||||
|
|
||||||
const hkp = new openpgp.HKP(keyserverBaseUrl)
|
const hkp = new openpgp.HKP(keyserverBaseUrl)
|
||||||
const lookupOpts = {
|
const lookupOpts = {
|
||||||
|
|
Loading…
Reference in a new issue