This commit is contained in:
Eugene Pankov
2021-07-26 21:00:13 +02:00
parent 427a245b24
commit f818dbf03e
4 changed files with 7 additions and 3 deletions

View File

@@ -39,6 +39,10 @@ function start () {
res.render('index', { req })
})
app.get(['/terminal'], (req, res) => {
res.sendFile(join(DIST_FOLDER, 'terminal.html'))
})
process.umask(0o002)
app.listen(PORT, () => {
console.log(`Node Express server listening on http://localhost:${PORT}`)