mirror of
				https://github.com/Telecominfraproject/wlan-cloud-owprov.git
				synced 2025-10-31 10:37:57 +00:00 
			
		
		
		
	Finishing framework refactor.
This commit is contained in:
		| @@ -3,18 +3,19 @@ | ||||
| // | ||||
|  | ||||
| #include "RESTAPI_webSocketServer.h" | ||||
|  | ||||
| #include "framework/MicroService.h" | ||||
|  | ||||
| #include "Poco/Net/WebSocket.h" | ||||
| #include "Poco/Net/NetException.h" | ||||
| #include "Poco/Net/HTTPResponse.h" | ||||
| #include "Poco/JSON/Object.h" | ||||
| #include "Poco/JSON/Parser.h" | ||||
| #include "Poco/JSON/Stringifier.h" | ||||
| #include "Poco/Net/HTTPSClientSession.h" | ||||
|  | ||||
| #include "SerialNumberCache.h" | ||||
|  | ||||
| #include "framework/AuthClient.h" | ||||
| #include "framework/Utils.h" | ||||
| #include "Poco/Net/HTTPSClientSession.h" | ||||
|  | ||||
| namespace OpenWifi { | ||||
|  | ||||
| 	void RESTAPI_webSocketServer::DoGet() { | ||||
| @@ -29,7 +30,7 @@ namespace OpenWifi { | ||||
| 				int n; | ||||
| 				bool Authenticated=false; | ||||
| 				bool Done=false; | ||||
| 				GoogleApiKey_ = Daemon()->ConfigGetString("google.apikey",""); | ||||
| 				GoogleApiKey_ = MicroService::instance().ConfigGetString("google.apikey",""); | ||||
| 				GeoCodeEnabled_ = !GoogleApiKey_.empty(); | ||||
|  | ||||
| 				do | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 stephb9959
					stephb9959