On the GridService, the central simulator features: ensure that the map tile url ends with '/' because the viewer is dumb and just appends to it.
parent
1f04e1bc23
commit
185e7048c8
|
@ -164,8 +164,14 @@ namespace OpenSim.Services.GridService
|
|||
|
||||
configVal = loginConfig.GetString("MapTileURL", string.Empty);
|
||||
if (!string.IsNullOrEmpty(configVal))
|
||||
{
|
||||
// This URL must end with '/', the viewer doesn't check
|
||||
configVal = configVal.Trim();
|
||||
if (!configVal.EndsWith("/"))
|
||||
configVal = configVal + "/";
|
||||
m_ExtraFeatures["map-server-url"] = configVal;
|
||||
|
||||
}
|
||||
|
||||
configVal = loginConfig.GetString("DestinationGuide", string.Empty);
|
||||
if (!string.IsNullOrEmpty(configVal))
|
||||
m_ExtraFeatures["destination-guide-url"] = configVal;
|
||||
|
|
Loading…
Reference in New Issue