Skip to content

Instantly share code, notes, and snippets.

@divneet
divneet / index.js
Created December 1, 2015 21:59
everyauth error
var path = require('path');
var EventEmitter = require('events').EventEmitter;
var connect = require('connect');
var express = require('express');
var ExpressRouter = require('express/lib/router');
var __pause = connect.utils.pause;
var merge = require('./lib/utils').merge;
var everyauth = module.exports = {};
var express = require('express');
var bodyParser = require('body-parser');
var engines = require('consolidate');
var app = express();
var https = require('https');
app.use(bodyParser.urlencoded({ extended: false }));
app.engine('html', engines.hogan);