From 007b4d1ce6c868bb2ea631b00839c2a4dce7906e Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 24 Jul 2022 12:27:25 +0200 Subject: Add "create game" index page. --- server.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'server.js') diff --git a/server.js b/server.js index e852a61..feb06ca 100644 --- a/server.js +++ b/server.js @@ -359,6 +359,10 @@ app.get('/', function (req, res) { res.render('index.pug', { user: req.user, titles: TITLES }) }) +app.get('/create', must_be_logged_in, function (req, res) { + res.render('create-index.pug', { user: req.user, titles: TITLES }) +}) + app.get('/about', function (req, res) { res.render('about.pug', { user: req.user }) }) -- cgit v1.2.3