|
@ -19,10 +19,12 @@ app.use(session( |
|
|
app.use(express.urlencoded()); //for easy retrieval of post and get data
|
|
|
app.use(express.urlencoded()); //for easy retrieval of post and get data
|
|
|
app.use(express.json()); |
|
|
app.use(express.json()); |
|
|
|
|
|
|
|
|
app.use(express.static('css')); |
|
|
|
|
|
app.use(express.static('js')); |
|
|
|
|
|
app.use(express.static('img')); |
|
|
|
|
|
|
|
|
app.use(express.static(__dirname,'css')); |
|
|
|
|
|
app.use(express.static(__dirname, 'js')); |
|
|
|
|
|
app.use(express.static(__dirname, 'img')); |
|
|
app.use(express.static('html')); |
|
|
app.use(express.static('html')); |
|
|
|
|
|
app.use(express.static(__dirname, 'fonts')); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const routes = require('./routes'); |
|
|
const routes = require('./routes'); |
|
|
app.use('/', routes); |
|
|
app.use('/', routes); |
|
|