Skip to content
Browse files

Improved commets.

  • Loading branch information...
1 parent 10ed6ea commit ebec796ae22f5240c716aed5fd5818b6d2d1c9db @keverw committed
Showing with 2 additions and 3 deletions.
  1. +2 −3 example.js
View
5 example.js
@@ -1,8 +1,7 @@
-// Load the http module to create an http server.
var http = require('http');
var cf = require('./node_CloudFlare.js');
-// Configure our HTTP server to respond with Hello World to all requests.
+// Configure our HTTP server to respond with the users IP address.
var server = http.createServer(function (req, res)
{
if (cf.check(req)) //CF
@@ -31,7 +30,7 @@ var server = http.createServer(function (req, res)
res.end('Your IP: ' + ip_address);
});
-cf.load(function (error, fs_error)
+cf.load(function (error, fs_error) //Loads the ranges and then starts the webserver.
{
if (fs_error)
{

0 comments on commit ebec796

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