Update app.js

changed URL to `reauth` from `logout` as it's not quite performing a `logout` function.
This commit is contained in:
Bill Church 2018-07-30 08:17:39 -04:00 committed by GitHub
parent 771800b02a
commit 21f2c4ef9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,7 @@ app.disable('x-powered-by')
// static files // static files
app.use(express.static(publicPath, expressOptions)) app.use(express.static(publicPath, expressOptions))
app.get('/logout', function (req, res, next) { app.get('/reauth', function (req, res, next) {
var r = req.headers.referer || '/'; var r = req.headers.referer || '/';
res.status(401).send( res.status(401).send(
'<html>' + '<html>' +