Remove default env value

This commit is contained in:
Yarmo Mackenbach 2022-07-13 13:38:50 +02:00
parent b99a10461e
commit 4ff48806f0
No known key found for this signature in database
GPG key ID: 37367F4AF4087AD1

View file

@ -45,7 +45,7 @@ const packageData = JSON.parse(readFileSync('./package.json'))
app.set('env', process.env.NODE_ENV || 'production') app.set('env', process.env.NODE_ENV || 'production')
app.engine('pug', pug.__express).set('view engine', 'pug') app.engine('pug', pug.__express).set('view engine', 'pug')
app.set('port', process.env.PORT || 3000) app.set('port', process.env.PORT || 3000)
app.set('domain', process.env.DOMAIN || 'keyoxide.org') app.set('domain', process.env.DOMAIN)
app.set('keyoxide_version', packageData.version) app.set('keyoxide_version', packageData.version)
app.set('onion_url', process.env.ONION_URL) app.set('onion_url', process.env.ONION_URL)