diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Hypergrid/HGStandaloneAssetService.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Hypergrid/HGStandaloneAssetService.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Modules/Hypergrid/HGStandaloneAssetService.cs b/OpenSim/Region/Environment/Modules/Hypergrid/HGStandaloneAssetService.cs index d090052..a5b45ea 100644 --- a/OpenSim/Region/Environment/Modules/Hypergrid/HGStandaloneAssetService.cs +++ b/OpenSim/Region/Environment/Modules/Hypergrid/HGStandaloneAssetService.cs | |||
@@ -120,13 +120,13 @@ namespace OpenSim.Region.Environment.Modules.Hypergrid | |||
120 | protected void AddHttpHandlers(Scene m_scene) | 120 | protected void AddHttpHandlers(Scene m_scene) |
121 | { | 121 | { |
122 | IAssetProviderPlugin m_assetProvider = ((AssetServerBase)m_scene.AssetCache.AssetServer).AssetProviderPlugin; | 122 | IAssetProviderPlugin m_assetProvider = ((AssetServerBase)m_scene.AssetCache.AssetServer).AssetProviderPlugin; |
123 | 123 | ||
124 | m_scene.AddStreamHandler(new GetAssetStreamHandler(m_assetProvider)); | 124 | BaseHttpServer httpServer = m_scene.CommsManager.HttpServer; |
125 | m_scene.AddStreamHandler(new PostAssetStreamHandler(m_assetProvider)); | 125 | httpServer.AddStreamHandler(new GetAssetStreamHandler(m_assetProvider)); |
126 | httpServer.AddStreamHandler(new PostAssetStreamHandler(m_assetProvider)); | ||
126 | 127 | ||
127 | } | 128 | } |
128 | 129 | ||
129 | |||
130 | ///// <summary> | 130 | ///// <summary> |
131 | ///// Check that the source of an inventory request is one that we trust. | 131 | ///// Check that the source of an inventory request is one that we trust. |
132 | ///// </summary> | 132 | ///// </summary> |