Skip to content

Commit

Permalink
default to https for publishing endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
sintaxi committed Jan 4, 2017
1 parent 37807d2 commit fe2062c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/surge.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ module.exports = function(config){

var ep = config.endpoint
? config.endpoint
: config.platform ? "http://surge." + config.platform : 'https://surge.surge.sh'
: config.platform ? "https://surge." + config.platform : 'https://surge.surge.sh'

config.platform = config.platform || "surge.sh"

Expand Down

0 comments on commit fe2062c

Please sign in to comment.