From fcfbf24d45b63a63226a3b05f14c332d3beb6938 Mon Sep 17 00:00:00 2001 From: Bill Church Date: Tue, 7 Aug 2018 06:59:37 -0400 Subject: [PATCH] update codeclimate getting "hit" for workspace/ duplication (needed for F5 specific stuff) made exception. also getting "hit" for upstream TODO/HACK in xterm.js, excluding compiled files. --- .codeclimate.yaml | 3 +++ client/public/webssh2.css | 2 +- client/src/css/style.css | 2 +- server/app.js | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 .codeclimate.yaml diff --git a/.codeclimate.yaml b/.codeclimate.yaml new file mode 100644 index 0000000..5b28a8d --- /dev/null +++ b/.codeclimate.yaml @@ -0,0 +1,3 @@ +exclude_patterns: + -"workspace/*" + -"client/public/*" \ No newline at end of file diff --git a/client/public/webssh2.css b/client/public/webssh2.css index d0af81e..058d8bd 100644 --- a/client/public/webssh2.css +++ b/client/public/webssh2.css @@ -162,7 +162,7 @@ height: 1px; overflow: hidden; } -html, body { +body, html { font-family: helvetica, sans-serif, arial; font-size: 1em; color: #111; diff --git a/client/src/css/style.css b/client/src/css/style.css index 4933780..d955cc6 100644 --- a/client/src/css/style.css +++ b/client/src/css/style.css @@ -1,4 +1,4 @@ -html, body { +body, html { font-family: helvetica, sans-serif, arial; font-size: 1em; color: #111; diff --git a/server/app.js b/server/app.js index 92d7801..c91a0dd 100644 --- a/server/app.js +++ b/server/app.js @@ -37,7 +37,7 @@ app.use(express.static(publicPath, expressOptions)) app.get('/reauth', function (req, res, next) { var r = req.headers.referer || '/' - res.status(401).send(''); + res.status(401).send('') }) app.get('/ssh/host/:host?', function (req, res, next) {