diff options
Diffstat (limited to 'OpenSim/Capabilities/Handlers/GetTexture')
-rw-r--r-- | OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs | 3 | ||||
-rw-r--r-- | OpenSim/Capabilities/Handlers/GetTexture/GetTextureServerConnector.cs | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs index a8e0fb5..59d8b9a 100644 --- a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs +++ b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs | |||
@@ -63,9 +63,6 @@ namespace OpenSim.Capabilities.Handlers | |||
63 | public GetTextureHandler(IAssetService assService) | 63 | public GetTextureHandler(IAssetService assService) |
64 | { | 64 | { |
65 | m_assetService = assService; | 65 | m_assetService = assService; |
66 | m_RedirectURL = redirectURL; | ||
67 | if (m_RedirectURL != null && !m_RedirectURL.EndsWith("/")) | ||
68 | m_RedirectURL += "/"; | ||
69 | } | 66 | } |
70 | 67 | ||
71 | public Hashtable Handle(Hashtable request) | 68 | public Hashtable Handle(Hashtable request) |
diff --git a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureServerConnector.cs b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureServerConnector.cs index d55e0ff..3f6d162 100644 --- a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureServerConnector.cs +++ b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureServerConnector.cs | |||
@@ -66,7 +66,7 @@ namespace OpenSim.Capabilities.Handlers | |||
66 | string rurl = serverConfig.GetString("GetTextureRedirectURL"); | 66 | string rurl = serverConfig.GetString("GetTextureRedirectURL"); |
67 | ; | 67 | ; |
68 | server.AddStreamHandler( | 68 | server.AddStreamHandler( |
69 | new GetTextureHandler("/CAPS/GetTexture/" /*+ UUID.Random() */, m_AssetService, "GetTexture", null, rurl)); | 69 | new GetTextureHandler("/CAPS/GetTexture/" */ /*+ UUID.Random() */ /*, m_AssetService, "GetTexture", null, rurl)); |
70 | } | 70 | } |
71 | } | 71 | } |
72 | } | 72 | } |