azken ukituak
This commit is contained in:
parent
6fcf8ad718
commit
6e2b726e69
1
index.js
1
index.js
@ -5,7 +5,6 @@ const bodyParser= require('body-parser');
|
|||||||
|
|
||||||
app.set('port', 8080);
|
app.set('port', 8080);
|
||||||
app.use(express.static(path.join(__dirname, 'public')));
|
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.urlencoded({extended: true}));
|
||||||
app.use(bodyParser.json());
|
app.use(bodyParser.json());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user