[gnome-maps] RouteService: Call GraphHopper via HTTPS



commit d53cf42edd2d845c9ee9e500e18d8c47f43766d7
Author: Mattias Bengtsson <mattias jc bengtsson gmail com>
Date:   Sat Dec 6 19:38:19 2014 +0100

    RouteService: Call GraphHopper via HTTPS
    
    GraphHopper has moved to HTTPS calls by default and HTTP requests will
    be redirected to the HTTPS endpoint in the future. No need for extra
    over head so lets just move to HTTPS.

 src/routeService.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/routeService.js b/src/routeService.js
index 6134e0b..92f6e20 100644
--- a/src/routeService.js
+++ b/src/routeService.js
@@ -48,7 +48,7 @@ const GraphHopper = new Lang.Class({
     _init: function() {
         this._session = new Soup.Session({ user_agent : Config.USER_AGENT });
         this._key     = "VCIHrHj0pDKb8INLpT4s5hVadNmJ1Q3vi0J4nJYP";
-        this._baseURL = "http://graphhopper.com/api/1/route?";;
+        this._baseURL = "https://graphhopper.com/api/1/route?";;
         this._locale  = GLib.get_language_names()[0];
         this._route   = new Route.Route();
         this._query   = new RouteQuery.RouteQuery();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]