Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Remove integer port requirement for Facebook
Browse files Browse the repository at this point in the history
  • Loading branch information
David Washington committed Oct 9, 2016
1 parent 1e4af2a commit 6cd4520
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/Facebook.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,6 @@ function Facebookbot(configuration) {
if (!port) {
throw new Error('Cannot start webserver without a port');
}
if (isNaN(port)) {
throw new Error('Specified port is not a valid number');
}

var static_dir = __dirname + '/public';

Expand Down

0 comments on commit 6cd4520

Please sign in to comment.