support https as well (fixes #309). Also bump version number in main which is was an oversight when releasing 0.7/0.71

This commit is contained in:
Stefan Breunig
2013-02-25 22:00:28 +01:00
parent 633dad97b9
commit b58050320b
2 changed files with 4 additions and 4 deletions

View File

@ -54,7 +54,7 @@ window.postAjax = function(action, data, success, error) {
// use full URL to avoid issues depending on how people set their
// slash. See:
// https://github.com/breunigs/ingress-intel-total-conversion/issues/56
url: 'http://www.ingress.com/rpc/dashboard.'+action,
url: window.location.protocol + '//www.ingress.com/rpc/dashboard.'+action,
type: 'POST',
data: data,
dataType: 'json',