     encodedOsType = encodeURIComponent(osType)
     encodedVersion = encodeURIComponent(currentVersion)
 
-    endpointURL = "http://updates.appgyver.com/steroids/latest.json?os=#{encodedOsType}&version=#{encodedVersion}&from=#{opts.from}&user_id=#{currentUserId}"
+    endpointURL = "https://updates.appgyver.com/steroids/latest.json?os=#{encodedOsType}&version=#{encodedVersion}&from=#{opts.from}&user_id=#{currentUserId}"
 
     @getFromEndpoint endpointURL, (latestVersion) =>
 


    currentVersion = opts.version

    endpointURL = "http://updates.appgyver.com/client/latest.json?platform=#{encodedPlatform}&version=#{encodedVersion}&os_version=#{encodedOsVersion}&device=#{encodedDevice}&simulator=#{simulator}&user_id=#{currentUserId}"

    @getFromEndpoint endpointURL, (latestVersion) =>


    return deferred.promise


module.exports = Updater
