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

Remove integer port requirement for Facebook #435

Merged
merged 1 commit into from
Oct 12, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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