diff --git a/.gitignore b/.gitignore index e737cbb..fb5fafe 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ #Docs docs +bigip/* + config.json # Logs diff --git a/app.js b/app.js index c2649da..a7ec6f8 100644 --- a/app.js +++ b/app.js @@ -54,7 +54,7 @@ app.get('/ssh/host/:host?', function (req, res, next) { tabStopWidth: config.terminal.tabStopWidth }, allowreplay: (validator.isBoolean(req.headers.allowreplay + '') ? myutil.parseBool(req.headers.allowreplay) : false), - MRH_Session: validator.isAlphanumeric(req.headers.lastMRH_Session + '') && req.headers.lastMRH_Session || 'none', + MRH_Session: (validator.isAlphanumeric(req.headers.lastMRH_Session + '') ? req.headers.lastMRH_Session : 'none'), serverlog: { client: config.serverlog.client || false, server: config.serverlog.server || false diff --git a/package.json b/package.json index ba6d826..323c264 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,8 @@ }, "standard": { "ignore": [ - "public/webssh2.bundle.js" + "public/webssh2.bundle.js", + "bigip/*" ] } } diff --git a/public/client-min.htm b/public/client-min.htm index bdc8223..38aef92 100644 --- a/public/client-min.htm +++ b/public/client-min.htm @@ -10,11 +10,11 @@