From 5e3a0f85e5b4b194a12f2f8f90ed3a46756d4ab8 Mon Sep 17 00:00:00 2001 From: brli <brita.linnestad@nibio.no> Date: Thu, 14 Nov 2024 13:22:09 +0100 Subject: [PATCH] Dynamic setting of links to external resources --- applefruitmoth/static/applefruitmoth/js/applefruitmoth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applefruitmoth/static/applefruitmoth/js/applefruitmoth.js b/applefruitmoth/static/applefruitmoth/js/applefruitmoth.js index 86394892..3fa56d6a 100644 --- a/applefruitmoth/static/applefruitmoth/js/applefruitmoth.js +++ b/applefruitmoth/static/applefruitmoth/js/applefruitmoth.js @@ -1,7 +1,7 @@ class ApplefruitMoth { - serverUri = "https://" + settings.vipsCoremanagerServerName; + serverUri = settings.vipsCoremanagerServerName; runUri= this.serverUri + "/models/DAYDEGREES/run"; weatherStationDataURL = "https://lmt.nibio.no/services/rest/vips/getdata/forecastfallback"; gridDataURL = "https://weather.vips.nibio.no/rest/grid/openmeteo/"; -- GitLab