From fa693c832c358cb55bea9ec63d6fc4b229bf3fb6 Mon Sep 17 00:00:00 2001
From: Tor-Einar Skog <tor-einar.skog@nibio.no>
Date: Wed, 21 Mar 2018 13:19:35 +0100
Subject: [PATCH] The correct ajax call

---
 .../webapp/public/nordic_septoria_whs/nordic_septoria_whs.js  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/public/nordic_septoria_whs/nordic_septoria_whs.js b/src/main/webapp/public/nordic_septoria_whs/nordic_septoria_whs.js
index f1574ea0..32a2c5b2 100644
--- a/src/main/webapp/public/nordic_septoria_whs/nordic_septoria_whs.js
+++ b/src/main/webapp/public/nordic_septoria_whs/nordic_septoria_whs.js
@@ -59,8 +59,8 @@ var initMap = function ()
             })
           });
     }
-    //ajax(hostName + "/rest/forecastresults/-1000", function(e){
-    ajax("http://vipslogic-local.no/rest/forecastresults/-1000", function(e){
+    ajax(hostName + "/rest/forecastresults/-1000", function(e){
+    //ajax("http://vipslogic-local.no/rest/forecastresults/-1000", function(e){
         results = JSON.parse(e.target.responseText);
         var currentDay = todayAtMidnight;
         for(var mapName in maps)
-- 
GitLab