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

Commit

Permalink
Remove HTTPS governor
Browse files Browse the repository at this point in the history
Botkit forced https, but Spark doesn't require it
  • Loading branch information
akalsey authored Mar 14, 2018
1 parent 5aa43d3 commit 641c769
Showing 1 changed file with 0 additions and 2 deletions.
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

0 comments on commit 641c769

Please sign in to comment.