bump for release
This commit is contained in:
parent
c11c5a7a2b
commit
0f41541bc6
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue