mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Trying to improve cpu on server..
This commit is contained in:
@@ -3,6 +3,9 @@ var router = express.Router();
|
||||
const path = require('path');
|
||||
var nodemailer = require('nodemailer');
|
||||
var mailconfig = require('../mailconfig.js');
|
||||
var mongo_db_cred = {config: 'mydb'};
|
||||
var mongojs = require('mongojs');
|
||||
var db = mongojs(mongo_db_cred.config);
|
||||
|
||||
router.use(function(req, res, next) {
|
||||
next(); // make sure we go to the next routes and don't stop here
|
||||
|
||||
Reference in New Issue
Block a user