Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

rm logging

  • Loading branch information...
commit b89740e0c31867cbb6683b279bce59ce6173c98b 1 parent c6ed84e
Rich Trott authored March 21, 2013

Showing 1 changed file with 0 additions and 3 deletions. Show diff stats Hide diff stats

  1. 3  server.js
3  server.js
@@ -22,10 +22,7 @@ app.use(function (req, res, next) {
22 22
     if(req.headers.origin && req.query.apikey) {
23 23
         db.get(req.query.apikey, function (err, doc) {
24 24
             if (err) return next(err);
25  
-            console.log(doc.host);
26  
-            console.log(req.headers.origin);
27 25
             if (doc.host === req.headers.origin) {
28  
-                console.log('allowed');
29 26
                 res.header('Access-Control-Allow-Origin', req.headers.origin);
30 27
                 apikeyMatches = true;
31 28
 

0 notes on commit b89740e

Please sign in to comment.
Something went wrong with that request. Please try again.