diff --git a/src/server/index.js b/src/server/index.js index 313a15b..d35dbc3 100644 --- a/src/server/index.js +++ b/src/server/index.js @@ -32,9 +32,11 @@ import * as doipjs from 'doipjs' import { fetchWKD, fetchHKP, fetchSignature, fetchKeybase } from './keys.js' import libravatar from 'libravatar' -const scheme = process.env.PROXY_SCHEME ? process.env.PROXY_SCHEME -: process.env.SCHEME ? process.env.SCHEME -: 'https' +const scheme = process.env.PROXY_SCHEME + ? process.env.PROXY_SCHEME + : process.env.SCHEME + ? process.env.SCHEME + : 'https' const generateWKDProfile = async (id) => { logger.debug('Generating a WKD profile',