bump for release

This commit is contained in:
Stewart Allen 2020-05-27 11:19:29 -04:00
commit 0f41541bc6
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
var exports = { var exports = {
COPYRIGHT:"Copyright (C) Stewart Allen <sa@grid.space> - All Rights Reserved", COPYRIGHT:"Copyright (C) Stewart Allen <sa@grid.space> - All Rights Reserved",
LICENSE:"See the license.md file included with the source distribution", LICENSE:"See the license.md file included with the source distribution",
VERSION:"2.0.3" VERSION:"2.0.4"
}; };
if (!module) var module = {}; if (!module) var module = {};
module.exports = exports; module.exports = exports;

View file

@ -343,7 +343,7 @@ function setup(req, res, next) {
let host = req.headers['host'] || '', let host = req.headers['host'] || '',
beta = getCookieValue(req.headers['cookie'],'beta'); beta = getCookieValue(req.headers['cookie'],'beta');
if (beta === 'true' && req.url.indexOf('?nobeta') > 0) { if (beta === 'true' && req.url.indexOf('?prod') > 0) {
res.setHeader('Set-Cookie', 'beta=false; path=/;'); res.setHeader('Set-Cookie', 'beta=false; path=/;');
beta = 'false'; beta = 'false';
} else if (beta !== 'true' && req.url.indexOf('?beta') > 0) { } else if (beta !== 'true' && req.url.indexOf('?beta') > 0) {