Mercurial > hg > orthanc
comparison OrthancServer/main.cpp @ 178:5739b4d10a4b
hashing
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 09 Nov 2012 11:13:29 +0100 |
parents | 662af781a227 |
children | 8e673a65564d |
comparison
equal
deleted
inserted
replaced
177:81b6f3013738 | 178:5739b4d10a4b |
---|---|
247 else | 247 else |
248 { | 248 { |
249 httpServer.SetSslEnabled(false); | 249 httpServer.SetSslEnabled(false); |
250 } | 250 } |
251 | 251 |
252 LOG(INFO) << "DICOM server listening on port: " << dicomServer.GetPortNumber(); | 252 LOG(WARNING) << "DICOM server listening on port: " << dicomServer.GetPortNumber(); |
253 LOG(INFO) << "HTTP server listening on port: " << httpServer.GetPortNumber(); | 253 LOG(WARNING) << "HTTP server listening on port: " << httpServer.GetPortNumber(); |
254 | 254 |
255 #if ORTHANC_STANDALONE == 1 | 255 #if ORTHANC_STANDALONE == 1 |
256 httpServer.RegisterHandler(new EmbeddedResourceHttpHandler("/app", EmbeddedResources::ORTHANC_EXPLORER)); | 256 httpServer.RegisterHandler(new EmbeddedResourceHttpHandler("/app", EmbeddedResources::ORTHANC_EXPLORER)); |
257 #else | 257 #else |
258 httpServer.RegisterHandler(new FilesystemHttpHandler("/app", ORTHANC_PATH "/OrthancExplorer")); | 258 httpServer.RegisterHandler(new FilesystemHttpHandler("/app", ORTHANC_PATH "/OrthancExplorer")); |