This commit is contained in:
lesion
2019-03-05 15:17:12 +01:00
parent 6683409e93
commit ae5dd27603
5 changed files with 25 additions and 10 deletions

View File

@@ -4,7 +4,7 @@ const bodyParser = require('body-parser')
const api = require('./app/api')
const cors = require('cors')
const path = require('path')
const port = process.env.PORT || 8080
const port = process.env.PORT || 9000
app.use(bodyParser.urlencoded({ extended: false }))
app.use(bodyParser.json())