Skip to content

Commit

Permalink
fix(accessibility): add missing title for index page
Browse files Browse the repository at this point in the history
  • Loading branch information
stiefeljackal committed Nov 20, 2024
1 parent ffc8ccf commit 9394f01
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ var router = express.Router();

/* GET home page. */
router.get('/', function(req, res, next) {
res.render('index');
res.render('index', {
title: 'go.resonite.com Home'
});
});

router.get('/session/:sessionId', (req,res, next) => handle("session", req, res, next));
Expand Down Expand Up @@ -42,7 +44,7 @@ function getUrl(type, req) {
/**
* Creates an error for the Web response of a failed call to the api.
*
* @param {Response} res The response of the api request.
* @param {SessionInfoA} res The response of the api request.
* @param {('world'|'session')} type The type of information this is whether it is a world or session.
* @returns
*/
Expand Down

0 comments on commit 9394f01

Please sign in to comment.