diff OrthancServer/main.cpp @ 908:e078ea944089 plugins

refactoring HttpOutput
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 19 Jun 2014 17:47:39 +0200
parents 2732b5f57d9c
children dcb2469f00f4
line wrap: on
line diff
--- a/OrthancServer/main.cpp	Thu Jun 19 14:28:43 2014 +0200
+++ b/OrthancServer/main.cpp	Thu Jun 19 17:47:39 2014 +0200
@@ -446,6 +446,7 @@
       httpServer.RegisterHandler(httpPlugins);
       httpServer.RegisterHandler(staticResources);
       httpServer.RegisterHandler(restApi);
+      httpPlugins.SetOrthancRestApi(restApi);
 
       // GO !!! Start the requested servers
       if (Configuration::GetGlobalBoolParameter("HttpServerEnabled", true))