changeset 2400:f235cc740c4b

remote access allowed in sample
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 01 Sep 2017 21:37:19 +0200
parents 971eb08553a9
children a051aba0037c
files Resources/Samples/OrthancFramework/MicroService/Sample.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/Samples/OrthancFramework/MicroService/Sample.cpp	Thu Aug 31 16:47:57 2017 +0200
+++ b/Resources/Samples/OrthancFramework/MicroService/Sample.cpp	Fri Sep 01 21:37:19 2017 +0200
@@ -46,6 +46,7 @@
     Orthanc::MongooseServer httpServer;
     httpServer.SetPortNumber(8000);
     httpServer.Register(rest);
+    httpServer.SetRemoteAccessAllowed(true);
     httpServer.Start();
     
     LOG(WARNING) << "Micro-service started on port " << httpServer.GetPortNumber();