fix page name for homepage

This commit is contained in:
Hugh Rundle 2023-03-12 18:02:33 +11:00
parent 8e1a73743b
commit 696d093af6

View file

@ -48,7 +48,7 @@ app.set('view engine', 'spy');
// GET
app.get('/', requireLoggedIn, (req, res) => {
res.render('index.spy', {title: 'Soyuz home', writeNew: getSavedFile(req.session.user.username)? 'Return to draft' : 'New'})
res.render('index.spy', {title: 'Home', writeNew: getSavedFile(req.session.user.username)? 'Return to draft' : 'New'})
})
app.get('/login', (req, res) => {