diff Platforms/Wasm/WasmWebService.cpp @ 240:ddbb339ed4cf am

orthancBaseUrl is now configurable
author am@osimis.io
date Wed, 20 Jun 2018 09:43:36 +0200
parents f73d722d98c8
children 3d523c9a8f0d 8ff70c04c6df
line wrap: on
line diff
--- a/Platforms/Wasm/WasmWebService.cpp	Wed Jun 20 09:26:15 2018 +0200
+++ b/Platforms/Wasm/WasmWebService.cpp	Wed Jun 20 09:43:36 2018 +0200
@@ -48,6 +48,11 @@
    }
   }
 
+  void EMSCRIPTEN_KEEPALIVE WasmWebService_SetBaseUrl(const char* baseUrl)
+  {
+    OrthancStone::WasmWebService::GetInstance().SetBaseUrl(baseUrl);
+  }
+
 #ifdef __cplusplus
 }
 #endif