diff --git a/applefruitmoth/static/applefruitmoth/js/applefruitmoth.js b/applefruitmoth/static/applefruitmoth/js/applefruitmoth.js
index 0c78e9c40608bd694bae2d197d233b81832cc22f..0d15fe62bb462b13467558f0b0118c1099f9b32b 100644
--- a/applefruitmoth/static/applefruitmoth/js/applefruitmoth.js
+++ b/applefruitmoth/static/applefruitmoth/js/applefruitmoth.js
@@ -5,7 +5,7 @@ document.title="Rognebærmøllvarsling";
 
 
 var stations = new Array();
-var serverUri = "https://coremanager.vips.nibio.no";
+var serverUri = "https://" + settings.vipsCoremanagerServerName;
 var runUri= serverUri + "/models/DAYDEGREES/run"; 
 
 var emptyChart;