comparison Platforms/Wasm/WasmWebService.h @ 240:ddbb339ed4cf am

orthancBaseUrl is now configurable
author am@osimis.io
date Wed, 20 Jun 2018 09:43:36 +0200
parents b4642964c355
children 3d523c9a8f0d 8ff70c04c6df
comparison
equal deleted inserted replaced
239:72b711f22a2b 240:ddbb339ed4cf
9 private: 9 private:
10 std::string base_; 10 std::string base_;
11 11
12 // Private constructor => Singleton design pattern 12 // Private constructor => Singleton design pattern
13 WasmWebService() : 13 WasmWebService() :
14 base_("../../") // TODO: this should be configurable from the JS code ! 14 base_("../../") // note: this is configurable from the JS code by calling WasmWebService_SetBaseUrl
15 { 15 {
16 } 16 }
17 17
18 public: 18 public:
19 static WasmWebService& GetInstance() 19 static WasmWebService& GetInstance()