Mercurial > hg > orthanc
comparison Plugins/Samples/ConnectivityChecks/Plugin.cpp @ 3628:70398cc7aa15
yet another try...
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 25 Jan 2020 12:04:45 +0100 |
parents | 8afc14fab01f |
children | 94f4a18a79cc |
comparison
equal
deleted
inserted
replaced
3627:b03854e0f796 | 3628:70398cc7aa15 |
---|---|
95 OrthancPluginLogError(context_, info); | 95 OrthancPluginLogError(context_, info); |
96 return -1; | 96 return -1; |
97 } | 97 } |
98 | 98 |
99 /* Register the callbacks */ | 99 /* Register the callbacks */ |
100 OrthancPluginSetDescription(context_, "Utilities to check connectivity to DICOM modalities and Orthanc peers."); | 100 OrthancPluginSetDescription(context_, "Utilities to check connectivity to DICOM modalities, DICOMweb servers and Orthanc peers."); |
101 OrthancPluginSetRootUri(context_, ROOT_URI "/app/index.html"); | 101 OrthancPluginSetRootUri(context_, ROOT_URI "/app/index.html"); |
102 OrthancPluginRegisterRestCallback(context_, ROOT_URI "/libs/(.*)", ServeStaticResource<Orthanc::EmbeddedResources::LIBRARIES>); | 102 OrthancPluginRegisterRestCallback(context_, ROOT_URI "/libs/(.*)", ServeStaticResource<Orthanc::EmbeddedResources::LIBRARIES>); |
103 OrthancPluginRegisterRestCallback(context_, ROOT_URI "/app/(.*)", ServeStaticResource<Orthanc::EmbeddedResources::WEB_RESOURCES>); | 103 OrthancPluginRegisterRestCallback(context_, ROOT_URI "/app/(.*)", ServeStaticResource<Orthanc::EmbeddedResources::WEB_RESOURCES>); |
104 | 104 |
105 return 0; | 105 return 0; |