Mercurial > hg > orthanc-stone
comparison 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 |
comparison
equal
deleted
inserted
replaced
239:72b711f22a2b | 240:ddbb339ed4cf |
---|---|
46 reinterpret_cast<OrthancStone::IWebService::ICallback*>(callback)-> | 46 reinterpret_cast<OrthancStone::IWebService::ICallback*>(callback)-> |
47 NotifySuccess(uri, body, bodySize, reinterpret_cast<Orthanc::IDynamicObject*>(payload)); | 47 NotifySuccess(uri, body, bodySize, reinterpret_cast<Orthanc::IDynamicObject*>(payload)); |
48 } | 48 } |
49 } | 49 } |
50 | 50 |
51 void EMSCRIPTEN_KEEPALIVE WasmWebService_SetBaseUrl(const char* baseUrl) | |
52 { | |
53 OrthancStone::WasmWebService::GetInstance().SetBaseUrl(baseUrl); | |
54 } | |
55 | |
51 #ifdef __cplusplus | 56 #ifdef __cplusplus |
52 } | 57 } |
53 #endif | 58 #endif |
54 | 59 |
55 | 60 |