mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
* RestMethod now uses same pattern as XmlRpcMethod
* Made /Admin use RestMethod * HttpServer is now a mini-webapp-server yay!
This commit is contained in:
@@ -199,7 +199,8 @@ namespace OpenSim
|
||||
}
|
||||
}
|
||||
|
||||
HttpServer.AddRestHandler("Admin", new AdminWebFront("Admin", LocalWorld, adminLoginServer ));
|
||||
AdminWebFront adminWebFront = new AdminWebFront("Admin", LocalWorld, adminLoginServer);
|
||||
adminWebFront.LoadMethods( HttpServer );
|
||||
|
||||
m_console.WriteLine("Main.cs:Startup() - Starting HTTP server");
|
||||
HttpServer.Start();
|
||||
|
||||
Reference in New Issue
Block a user