mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
* refactor: call AddHttpHandler() directly via CommsManager
This commit is contained in:
@@ -53,7 +53,7 @@ namespace OpenSim.Region.DataSnapshot
|
||||
m_externalData = externalData;
|
||||
|
||||
//Register HTTP handler
|
||||
if (m_scene.AddHTTPHandler("collector", OnGetSnapshot))
|
||||
if (m_scene.CommsManager.HttpServer.AddHTTPHandler("collector", OnGetSnapshot))
|
||||
{
|
||||
m_log.Info("[DATASNAPSHOT]: Set up snapshot service");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user