From b612304dea63545da10209d27a4897c1c8f8a5fa Mon Sep 17 00:00:00 2001 From: Bill Church Date: Mon, 17 May 2021 06:07:46 -0400 Subject: [PATCH] chore: grammar / spelling --- app/server/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/server/app.js b/app/server/app.js index da1db28..753bb1a 100644 --- a/app/server/app.js +++ b/app/server/app.js @@ -173,7 +173,7 @@ app.get('/ssh/reauth', (req, res, next) => { // eslint-disable-next-line complexity app.get('/ssh/host/:host?', (req, res) => { res.sendFile(path.join(path.join(publicPath, 'client.htm'))); - // capture, assign, and validated variables + // capture, assign, and validate variables req.session.ssh = { host: config.ssh.host || (validator.isIP(`${req.params.host}`) && req.params.host) || (validator.isFQDN(req.params.host) && req.params.host) @@ -215,7 +215,7 @@ app.get('/ssh/host/:host?', (req, res) => { // express error handling app.use((req, res, next) => { - res.status(404).send("Sorry can't find that!"); + res.status(404).send("Sorry, can't find that!"); next(); });