clean up old nodejs stuff that was never used
This commit is contained in:
parent
b9e349a0c6
commit
68d4629185
14 changed files with 19 additions and 1010 deletions
16
index.js
16
index.js
|
@ -1,16 +0,0 @@
|
|||
import express from "express";
|
||||
const app = express()
|
||||
const port = process.env.PORT|| 3000;
|
||||
|
||||
app.use('/static', express.static('./static'),)
|
||||
|
||||
app.set('view engine', 'ejs');
|
||||
app.set('views', './views');
|
||||
|
||||
app.get('/', (req, res) => {
|
||||
res.render('index');
|
||||
})
|
||||
|
||||
app.listen(port, () => {
|
||||
console.log(`App listening on port ${port}`)
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue