mirror of
https://github.com/opensim/opensim.git
synced 2026-08-02 23:18:34 +08:00
remove end slash from most URLs we send to viewers
This commit is contained in:
@@ -130,8 +130,8 @@ namespace OpenSim.Region.UserStatistics
|
||||
// End Own reports section
|
||||
////
|
||||
|
||||
MainServer.Instance.AddHTTPHandler("/SStats/", HandleStatsRequest);
|
||||
MainServer.Instance.AddHTTPHandler("/CAPS/VS/", HandleUnknownCAPSRequest);
|
||||
MainServer.Instance.AddHTTPHandler("/SStats", HandleStatsRequest);
|
||||
MainServer.Instance.AddHTTPHandler("/VS", HandleUnknownCAPSRequest);
|
||||
}
|
||||
|
||||
public virtual void AddRegion(Scene scene)
|
||||
@@ -340,7 +340,7 @@ namespace OpenSim.Region.UserStatistics
|
||||
{
|
||||
// m_log.DebugFormat("[WEB STATS MODULE]: OnRegisterCaps: agentID {0} caps {1}", agentID, caps);
|
||||
|
||||
string capsPath = "/CAPS/VS/" + UUID.Random();
|
||||
string capsPath = "/" + UUID.Random();
|
||||
caps.RegisterHandler(
|
||||
"ViewerStats",
|
||||
new RestStreamHandler(
|
||||
|
||||
Reference in New Issue
Block a user