diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-07-24 12:27:25 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-07-24 13:05:31 +0200 |
commit | 007b4d1ce6c868bb2ea631b00839c2a4dce7906e (patch) | |
tree | d1aaa7bfa8f875420cae77aadfdc3d08930339fb /server.js | |
parent | 3e882f6480dd1c7e3148a1e6caf45d7c7568b75b (diff) | |
download | server-007b4d1ce6c868bb2ea631b00839c2a4dce7906e.tar.gz |
Add "create game" index page.
Diffstat (limited to 'server.js')
-rw-r--r-- | server.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 }) }) |