Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Commit

Permalink
add server logging
Browse files Browse the repository at this point in the history
  • Loading branch information
lloyd committed Apr 4, 2012
1 parent d7dc960 commit c58445a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions server.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
var express = require('express'),
https = require('https');

var app = express.createServer();

app.use(express.bodyParser());
var app = express.createServer(
express.logger(),
express.bodyParser()
);

app.post('/verify', function(req, res) {
var body = JSON.stringify({
Expand Down

0 comments on commit c58445a

Please sign in to comment.