aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/OptionalModules/World/WorldView/WorldViewModule.cs3
-rw-r--r--OpenSim/Region/OptionalModules/World/WorldView/WorldViewRequestHandler.cs4
2 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/OptionalModules/World/WorldView/WorldViewModule.cs b/OpenSim/Region/OptionalModules/World/WorldView/WorldViewModule.cs
index bcf4187..55be9ba 100644
--- a/OpenSim/Region/OptionalModules/World/WorldView/WorldViewModule.cs
+++ b/OpenSim/Region/OptionalModules/World/WorldView/WorldViewModule.cs
@@ -81,7 +81,8 @@ namespace OpenSim.Region.OptionalModules.World.WorldView
81 m_log.Info("[WORLDVIEW]: Configured and enabled"); 81 m_log.Info("[WORLDVIEW]: Configured and enabled");
82 82
83 IHttpServer server = MainServer.GetHttpServer(0); 83 IHttpServer server = MainServer.GetHttpServer(0);
84 server.AddStreamHandler(new WorldViewRequestHandler(this)); 84 server.AddStreamHandler(new WorldViewRequestHandler(this,
85 scene.RegionInfo.RegionID.ToString()));
85 } 86 }
86 87
87 public void RemoveRegion(Scene scene) 88 public void RemoveRegion(Scene scene)
diff --git a/OpenSim/Region/OptionalModules/World/WorldView/WorldViewRequestHandler.cs b/OpenSim/Region/OptionalModules/World/WorldView/WorldViewRequestHandler.cs
index 8b2fa29..5e744bf 100644
--- a/OpenSim/Region/OptionalModules/World/WorldView/WorldViewRequestHandler.cs
+++ b/OpenSim/Region/OptionalModules/World/WorldView/WorldViewRequestHandler.cs
@@ -49,8 +49,8 @@ namespace OpenSim.Region.OptionalModules.World.WorldView
49 protected WorldViewModule m_WorldViewModule; 49 protected WorldViewModule m_WorldViewModule;
50 protected Object m_RequestLock = new Object(); 50 protected Object m_RequestLock = new Object();
51 51
52 public WorldViewRequestHandler(WorldViewModule fmodule) 52 public WorldViewRequestHandler(WorldViewModule fmodule, string rid)
53 : base("POST", "/worldview") 53 : base("POST", "/worldview/" + rid)
54 { 54 {
55 m_WorldViewModule = fmodule; 55 m_WorldViewModule = fmodule;
56 } 56 }