changeset 5035:67d98fccc850

uniformize /plugins/../status
author Alain Mazy <am@osimis.io>
date Wed, 22 Jun 2022 15:37:08 +0200
parents 16b1ab353861
children 877bc3b96476
files OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp	Wed Jun 22 15:36:55 2022 +0200
+++ b/OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp	Wed Jun 22 15:37:08 2022 +0200
@@ -787,7 +787,8 @@
       }
 
       OrthancPluginRegisterOnChangeCallback(c, OnChangeCallback);
-      OrthancPluginRegisterRestCallback(c, "/housekeeper/status", GetPluginStatus);
+      OrthancPluginRegisterRestCallback(c, "/housekeeper/status", GetPluginStatus);   // for bacward compatiblity with version 1.11.0
+      OrthancPluginRegisterRestCallback(c, "/plugins/housekeeper/status", GetPluginStatus);
     }
     else
     {