Skip to content

Commit

Permalink
updated as per latest Express syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditya Kotamraju committed Jan 20, 2019
1 parent 3efb505 commit 78b2de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const express = require('express');
const bodyParser = require('body-parser');
const app = express();

app.use(bodyParser.urlencoded({extended: true}));
app.use(express.json());

app.get('/', (req, res) => {
res.send('Hello from App Engine!');
Expand Down

0 comments on commit 78b2de7

Please sign in to comment.