Minor improvement

This commit is contained in:
Yarmo Mackenbach 2020-08-14 19:25:40 +02:00
parent 099ff19e7e
commit 2cc5dac911

View file

@ -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/,
}));