diff options
author | lbsa71 | 2007-03-29 19:05:34 +0000 |
---|---|---|
committer | lbsa71 | 2007-03-29 19:05:34 +0000 |
commit | 514a3230563e19708588945f90e81760377f1265 (patch) | |
tree | 89c2b0c9d05b10b4a470bc9834cc7f4aef89047a /OpenSim.RegionServer/OpenSimMain.cs | |
parent | * Tried to make the sandbox/useraccount sim setup a bit simpler (diff) | |
download | opensim-SC_OLD-514a3230563e19708588945f90e81760377f1265.zip opensim-SC_OLD-514a3230563e19708588945f90e81760377f1265.tar.gz opensim-SC_OLD-514a3230563e19708588945f90e81760377f1265.tar.bz2 opensim-SC_OLD-514a3230563e19708588945f90e81760377f1265.tar.xz |
* RestMethod now uses same pattern as XmlRpcMethod
* Made /Admin use RestMethod
* HttpServer is now a mini-webapp-server yay!
Diffstat (limited to 'OpenSim.RegionServer/OpenSimMain.cs')
-rw-r--r-- | OpenSim.RegionServer/OpenSimMain.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim.RegionServer/OpenSimMain.cs b/OpenSim.RegionServer/OpenSimMain.cs index 51ec12b..36e1817 100644 --- a/OpenSim.RegionServer/OpenSimMain.cs +++ b/OpenSim.RegionServer/OpenSimMain.cs | |||
@@ -199,7 +199,8 @@ namespace OpenSim | |||
199 | } | 199 | } |
200 | } | 200 | } |
201 | 201 | ||
202 | HttpServer.AddRestHandler("Admin", new AdminWebFront("Admin", LocalWorld, adminLoginServer )); | 202 | AdminWebFront adminWebFront = new AdminWebFront("Admin", LocalWorld, adminLoginServer); |
203 | adminWebFront.LoadMethods( HttpServer ); | ||
203 | 204 | ||
204 | m_console.WriteLine("Main.cs:Startup() - Starting HTTP server"); | 205 | m_console.WriteLine("Main.cs:Startup() - Starting HTTP server"); |
205 | HttpServer.Start(); | 206 | HttpServer.Start(); |