mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-09 23:37:31 -05:00
15 lines
504 B
JavaScript
15 lines
504 B
JavaScript
/** Important **/
|
|
/** You should not be committing this file to GitHub **/
|
|
/** Repeat: DO! NOT! COMMIT! THIS! FILE! TO! YOUR! REPO! **/
|
|
var host = process.env['MONGO_NODE_DRIVER_HOST'] != null ? process.env['MONGO_NODE_DRIVER_HOST'] : 'localhost';
|
|
var port = process.env['MONGO_NODE_DRIVER_PORT'] != null ? process.env['MONGO_NODE_DRIVER_PORT'] : 27017;
|
|
var mongoUrl = 'mongodb://' + host + ':' + port + '/scanner';
|
|
|
|
|
|
|
|
module.exports = secrets = {
|
|
db: mongoUrl,
|
|
sessionSecret: "letthisbeyoursecret"
|
|
}
|
|
|