From 2cc5dac91191a78498cd5b07932badd735feaf16 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Fri, 14 Aug 2020 19:25:40 +0200 Subject: [PATCH] Minor improvement --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 08ec9ea..8dd754a 100644 --- a/index.js +++ b/index.js @@ -44,7 +44,7 @@ app.set('view engine', 'pug'); app.use('/favicon.svg', express.static('favicon.svg')); app.use(stringReplace({ - PLACEHOLDER__XMPP_VCARD_SERVER_DOMAIN: process.env.XMPP_VCARD_SERVER_DOMAIN ? process.env.XMPP_VCARD_SERVER_DOMAIN : 'xmpp-vcard.keyoxide.org' + PLACEHOLDER__XMPP_VCARD_SERVER_DOMAIN: process.env.XMPP_VCARD_SERVER_DOMAIN || 'xmpp-vcard.keyoxide.org' }, { contentTypeFilterRegexp: /application\/javascript/, }));