UI and bugfixes #10

Merged
hughrun merged 2 commits from publishing-fixes into main 2023-03-12 18:05:01 +11:00
Showing only changes of commit 696d093af6 - Show all commits

View file

@ -48,7 +48,7 @@ app.set('view engine', 'spy');
// GET // GET
app.get('/', requireLoggedIn, (req, res) => { 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) => { app.get('/login', (req, res) => {