Skip to content
Snippets Groups Projects
Commit b48a6a02 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Making URL to icons protocol agnostic

parent 9650536a
Branches
Tags
No related merge requests found
......@@ -651,7 +651,8 @@ public class ForecastBean {
public Kml getForecastsAggregateKml(Integer organizationId, List<Integer> cropOrganismIds, Date theDate, String serverName)
{
String iconPath = Globals.PROTOCOL + "://" + serverName + "/public/images/";
//String iconPath = Globals.PROTOCOL + "://" + serverName + "/public/images/";
String iconPath = "//" + serverName + "/public/images/";
// Initialization
final Vec2 hotspot = new Vec2()
.withX(0.5)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment