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

Remove HTTPS governor #1284

Merged
merged 1 commit into from
Mar 15, 2018
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
2 changes: 0 additions & 2 deletions lib/CiscoSparkbot.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ function Sparkbot(configuration) {
var endpoint = url.parse(controller.config.public_address);
if (!endpoint.hostname) {
throw new Error('Could not determine hostname of public address: ' + controller.config.public_address);
} else if (endpoint.protocol != 'https:') {
throw new Error('Please specify an SSL-enabled url for your public address: ' + controller.config.public_address);
} else {
controller.config.public_address = endpoint.hostname + (endpoint.port ? ':' + endpoint.port : '');
}
Expand Down