diff --git a/src/keys.js b/src/keys.js index 9b61ce4..78cc64a 100644 --- a/src/keys.js +++ b/src/keys.js @@ -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 = {