Mercurial > hg > orthanc
diff OrthancServer/Sources/OrthancRestApi/OrthancRestSystem.cpp @ 4461:22abc6851191
The DICOM meta-header and the transfer syntax are displayed at the "Instance" level
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 20 Jan 2021 14:51:48 +0100 |
parents | d9473bd5ed43 |
children | 68f52897c119 |
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancRestApi/OrthancRestSystem.cpp Wed Jan 20 14:20:37 2021 +0100 +++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestSystem.cpp Wed Jan 20 14:51:48 2021 +0100 @@ -54,6 +54,11 @@ call.GetOutput().Redirect("app/explorer.html"); } + static void ServeFavicon(RestApiGetCall& call) + { + call.GetOutput().Redirect("app/images/favicon.ico"); + } + static void GetSystemInformation(RestApiGetCall& call) { if (call.IsDocumentation()) @@ -878,6 +883,7 @@ if (orthancExplorerEnabled) { Register("/", ServeRoot); + Register("/favicon.ico", ServeFavicon); // New in Orthanc 1.9.0 } Register("/system", GetSystemInformation);