devbug/config/server.config.js
2019-06-24 11:45:22 -05:00

18 lines
397 B
JavaScript

const server_config = {
port: process.env.SERVER_PORT || 80,
environment: process.env.ENVIRONMENT || "production",
logging: {
level: process.env.LOGGING_LEVEL || 1
},
session: {
secret: process.env.SECRET || "changeme"
},
uploads: {
destination: './uploads'
},
url: process.env.SERVER_URL || "localhost",
}
module.exports = server_config