Skip to content

Commit 8c50c00

Browse files
committed
changed .SEARCH_SERVER to be https, not http
1 parent 89685d5 commit 8c50c00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/scripts/directives/epub-reader.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,12 +186,12 @@ angular.module('Reader')
186186
};
187187

188188
// Search
189-
$scope.SEARCH_SERVER = "http://epubjs-search.herokuapp.com";
189+
$scope.SEARCH_SERVER = "https://epubjs-search.herokuapp.com";
190190

191191
$scope.search = function(q, callback) {
192192
var fetch = $.ajax({
193193
dataType: "json",
194-
url: $scope.SEARCH_SERVER + "/search?q=" + encodeURIComponent(q)
194+
url: $scope.SEARCH_SERVER + "/search?q=" + encodeURIComponent(q)
195195
});
196196

197197
fetch.fail(function(err) {

0 commit comments

Comments
 (0)