From 59beb6af2c164ffe176b5f3c66770ebfeac62c07 Mon Sep 17 00:00:00 2001
From: blavenie <benoit.lavenier@e-is.pro>
Date: Wed, 2 Aug 2017 20:29:06 +0200
Subject: [PATCH] fix openstreetmap url

---
 www/js/config.js                            | 10 +++++-----
 www/plugins/map/js/services/wot-services.js |  1 -
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/www/js/config.js b/www/js/config.js
index 7ebd529e..7b830dbe 100644
--- a/www/js/config.js
+++ b/www/js/config.js
@@ -10,7 +10,7 @@ angular.module("cesium.config", [])
 
 .constant("csConfig", {
 	"cacheTimeMs": 300000,
-	"fallbackLanguage": "en",
+	"fallbackLanguage": "fr",
 	"rememberMe": true,
 	"showUDHistory": false,
 	"timeout": 300000,
@@ -31,16 +31,16 @@ angular.module("cesium.config", [])
 		"en": "license/license_g1-en.txt"
 	},
 	"node": {
-		"host": "g1.duniter.org",
+		"host": "g1.duniter.fr",
 		"port": "443"
 	},
 	"fallbackNodes": [
 		{
-			"host": "g1.duniter.fr",
+			"host": "g1.duniter.org",
 			"port": "443"
 		},
 		{
-			"host": "g1.duniter.org",
+			"host": "g1.duniter.fr",
 			"port": "443"
 		}
 	],
@@ -60,7 +60,7 @@ angular.module("cesium.config", [])
 		}
 	},
 	"version": "0.15.2",
-	"build": "2017-08-02T18:15:10.484Z",
+	"build": "2017-08-02T18:28:50.675Z",
 	"newIssueUrl": "https://github.com/duniter/cesium/issues/new?labels=bug"
 })
 
diff --git a/www/plugins/map/js/services/wot-services.js b/www/plugins/map/js/services/wot-services.js
index de359673..0246de64 100644
--- a/www/plugins/map/js/services/wot-services.js
+++ b/www/plugins/map/js/services/wot-services.js
@@ -29,7 +29,6 @@ angular.module('cesium.map.wot.services', ['cesium.services'])
     if (options.searchAddress) {
       query.bool.should = [
         {exists: {field: "geoPoint"}},
-        {exists: {field: "address"}},
         {exists: {field: "city"}}
       ];
     }
-- 
GitLab