mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Moved files to config folders, and updated pm2 command
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
var express = require('express');
|
||||
var router = express.Router();
|
||||
const path = require('path');
|
||||
var path = require('path');
|
||||
var nodemailer = require('nodemailer');
|
||||
var mailconfig = require('../mailconfig.js');
|
||||
var mailconfig = require(path.join(__dirname, '../config/mailconfig.js'));
|
||||
var mongo_db_cred = {config: 'mydb'};
|
||||
var mongojs = require('mongojs');
|
||||
var db = mongojs(mongo_db_cred.config);
|
||||
|
||||
Reference in New Issue
Block a user