mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
simplify a bit some caps paths
This commit is contained in:
@@ -93,7 +93,7 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||
|
||||
public void RegisterCaps(UUID agentID, Caps caps)
|
||||
{
|
||||
UUID capuuid = UUID.Random();
|
||||
string capUrl = "/CAPS/" + UUID.Random() + "/";
|
||||
|
||||
// m_log.InfoFormat("[OBJECTADD]: {0}", "/CAPS/OA/" + capuuid + "/");
|
||||
|
||||
@@ -101,7 +101,7 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||
"ObjectAdd",
|
||||
new RestHTTPHandler(
|
||||
"POST",
|
||||
"/CAPS/OA/" + capuuid + "/",
|
||||
capUrl,
|
||||
httpMethod => ProcessAdd(httpMethod, agentID, caps),
|
||||
"ObjectAdd",
|
||||
agentID.ToString())); ;
|
||||
|
||||
Reference in New Issue
Block a user