Mercurial > hg > orthanc
diff OrthancServer/main.cpp @ 897:bafc9d592632 plugins
REST callbacks are working
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 17 Jun 2014 17:43:39 +0200 |
parents | f57802f8b4dc |
children | bb0a51561016 |
line wrap: on
line diff
--- a/OrthancServer/main.cpp Tue Jun 17 09:57:02 2014 +0200 +++ b/OrthancServer/main.cpp Tue Jun 17 17:43:39 2014 +0200 @@ -49,6 +49,7 @@ #include "OrthancMoveRequestHandler.h" #include "ServerToolbox.h" #include "../Plugins/Engine/PluginsManager.h" +#include "../Plugins/Engine/PluginsHttpHandler.h" using namespace Orthanc; @@ -431,6 +432,8 @@ httpServer.SetSslEnabled(false); } + httpServer.RegisterHandler(new PluginsHttpHandler(pluginsManager)); + #if ORTHANC_STANDALONE == 1 httpServer.RegisterHandler(new EmbeddedResourceHttpHandler("/app", EmbeddedResources::ORTHANC_EXPLORER)); #else