fix: setup https support + various fixes

This commit is contained in:
Nick
2019-03-16 22:41:48 -04:00
parent 7bbf683902
commit 358e79d7f5
7 changed files with 64 additions and 58 deletions

View File

@@ -1,15 +0,0 @@
'use strict'
/**
* Flash middleware
*
* @param {Express Request} req Express Request object
* @param {Express Response} res Express Response object
* @param {Function} next Next callback function
* @return {any} void
*/
module.exports = (req, res, next) => {
res.locals.flash = req.flash('alert')
next()
}

View File

@@ -1,7 +1,7 @@
'use strict'
const _ = require('lodash')
/* global WIKI */
/**
* SEO Middleware
*