mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-02-12 20:39:31 +00:00
Added more error-messages on crashing because of missing files. Closes #227
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
var express = require('express');
|
||||
var router = express.Router();
|
||||
var path = require('path');
|
||||
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