From e48e449c03831eedf81efd03ddb714408a6a9752 Mon Sep 17 00:00:00 2001 From: Will Bradley Date: Sat, 26 Jan 2013 19:22:26 -0700 Subject: [PATCH] Status messages = noob-friendly --- app.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app.js b/app.js index 75d050d..fc2e4b9 100755 --- a/app.js +++ b/app.js @@ -37,6 +37,9 @@ function isThisARedirect (res) { console.log("Redirect? HOW SUSPICIOUS."); redirecting(res); } + else { + console.log("No redirect, nothing to see here..."); + } } function redirecting (res) { @@ -101,5 +104,6 @@ function mergeObjects (obj1, obj2) { return obj; } +console.log("Cool! I'll check the wifi every 10 seconds, just keep me running..."); setInterval(checkForRedirect, 10000); checkForRedirect();