Mercurial > hg > orthanc-stone
diff Applications/StoneWebViewer/Plugin/Plugin.cpp @ 1555:b894072b9e2f
static JavaScript resources
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 17 Aug 2020 18:58:23 +0200 |
parents | 8ddf77198ed7 |
children | 4fb8fdf03314 |
line wrap: on
line diff
--- a/Applications/StoneWebViewer/Plugin/Plugin.cpp Mon Aug 17 16:10:00 2020 +0200 +++ b/Applications/StoneWebViewer/Plugin/Plugin.cpp Mon Aug 17 18:58:23 2020 +0200 @@ -206,6 +206,18 @@ OrthancPlugins::RegisterRestCallback <ServeEmbeddedFolder<Orthanc::EmbeddedResources::IMAGES> > ("/stone-webviewer/img/(.*)", true); + + OrthancPlugins::RegisterRestCallback + <ServeEmbeddedFolder<Orthanc::EmbeddedResources::LIBRARIES_CSS> > + ("/stone-webviewer/css/(.*)", true); + + OrthancPlugins::RegisterRestCallback + <ServeEmbeddedFolder<Orthanc::EmbeddedResources::LIBRARIES_JS> > + ("/stone-webviewer/js/(.*)", true); + + OrthancPlugins::RegisterRestCallback + <ServeEmbeddedFolder<Orthanc::EmbeddedResources::LIBRARIES_WEBFONTS> > + ("/stone-webviewer/webfonts/(.*)", true); OrthancPlugins::RegisterRestCallback <ServeEmbeddedFolder<Orthanc::EmbeddedResources::WEB_APPLICATION> >