diff options
Diffstat (limited to 'OpenSim/Capabilities/Handlers/GetTexture/GetTextureServerConnector.cs')
-rw-r--r-- | OpenSim/Capabilities/Handlers/GetTexture/GetTextureServerConnector.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureServerConnector.cs b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureServerConnector.cs index bf66acb..d55e0ff 100644 --- a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureServerConnector.cs +++ b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureServerConnector.cs | |||
@@ -63,8 +63,10 @@ namespace OpenSim.Capabilities.Handlers | |||
63 | if (m_AssetService == null) | 63 | if (m_AssetService == null) |
64 | throw new Exception(String.Format("Failed to load AssetService from {0}; config is {1}", assetService, m_ConfigName)); | 64 | throw new Exception(String.Format("Failed to load AssetService from {0}; config is {1}", assetService, m_ConfigName)); |
65 | 65 | ||
66 | string rurl = serverConfig.GetString("GetTextureRedirectURL"); | ||
67 | ; | ||
66 | server.AddStreamHandler( | 68 | server.AddStreamHandler( |
67 | new GetTextureHandler("/CAPS/GetTexture/", m_AssetService, "GetTexture", null)); | 69 | new GetTextureHandler("/CAPS/GetTexture/" /*+ UUID.Random() */, m_AssetService, "GetTexture", null, rurl)); |
68 | } | 70 | } |
69 | } | 71 | } |
70 | } | 72 | } |