|
|
|
@ -5,7 +5,6 @@ const bodyParser= require('body-parser');
|
|
|
|
|
|
|
|
|
|
app.set('port', 8080);
|
|
|
|
|
app.use(express.static(path.join(__dirname, 'public')));
|
|
|
|
|
app.use('/images', express.static(path.join(__dirname, 'public/images')));
|
|
|
|
|
app.use(bodyParser.urlencoded({extended: true}));
|
|
|
|
|
app.use(bodyParser.json());
|
|
|
|
|
|
|
|
|
|