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

View file

@ -343,7 +343,7 @@ function setup(req, res, next) {
let host = req.headers['host'] || '',
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=/;');
beta = 'false';
} else if (beta !== 'true' && req.url.indexOf('?beta') > 0) {