Mercurial > hg > orthanc-ohif
changeset 46:63a392fbf14e
removed patch OHIF for https://github.com/OHIF/Viewers/issues/3928
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Thu, 23 May 2024 10:46:19 +0200 |
parents | 61771e7c44a8 |
children | 58d93952642f |
files | NEWS Sources/Plugin.cpp |
diffstat | 2 files changed, 0 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/NEWS Thu May 23 10:45:26 2024 +0200 +++ b/NEWS Thu May 23 10:46:19 2024 +0200 @@ -2,8 +2,6 @@ =============================== * Updated OHIF to 3.9.0-beta.15 (that is actually a beta 3.8.1) -* Patching OHIF code for https://github.com/OHIF/Viewers/issues/3928 - to allow using token args in URL * Enabled support for segmentation and microscopy modes Note that the microscopy mode is not stable yet in OHIF!
--- a/Sources/Plugin.cpp Thu May 23 10:45:26 2024 +0200 +++ b/Sources/Plugin.cpp Thu May 23 10:46:19 2024 +0200 @@ -266,13 +266,6 @@ std::unique_ptr<std::string> item(new std::string); ReadStaticAsset(*item, path); - // patch OHIF for https://github.com/OHIF/Viewers/issues/3928 - // TODO - Remove after official release OHIF 3.8.0 - if (Orthanc::Toolbox::StartsWith(path, "app.bundle.")) - { - boost::replace_all(*item, "window.location.origin + location.pathname + location.search", "window.location.origin + window.location.pathname + location.search"); - } - OrthancPluginAnswerBuffer(context, output, item->c_str(), item->size(), mime.c_str()); {