Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
#89 correct typo in comments
Browse files Browse the repository at this point in the history
Signed-off-by: David Radley <david_radley@uk.ibm.com>
  • Loading branch information
davidradl committed Feb 25, 2021
1 parent 0bd3d59 commit a798cc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cra-server/functions/serverNameMiddleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
* /coco1/abc/de => /abc/de?servername=coco1
* /display.ico => /display.ico
*
* This middleware also validates that the server name that has been supplied is valid (i.e. is defined in our list of servers.
* This middleware also validates that the server name that has been supplied is valid (i.e. is defined in our list of servers).
* So we can have a better user experience, the login screen is displayed for /<server name> and /<server name>/login even if the <server name>
* is invalid. The request will fail on the login post.
* is invalid. The request will fail on the login post if the <server name> is not known.
*/
const serverNameMiddleWare = (req, res, next) => {
// Disabling logging as CodeQL does not like user supplied values being logged.
Expand Down

0 comments on commit a798cc8

Please sign in to comment.