mirror of
				https://github.com/Telecominfraproject/wlan-cloud-owprov.git
				synced 2025-10-31 02:27:52 +00:00 
			
		
		
		
	Adding file download.
This commit is contained in:
		| @@ -13,11 +13,9 @@ namespace OpenWifi { | ||||
|  | ||||
|         std::string AssetName = GetBinding(RESTAPI::Protocol::ID, ""); | ||||
|         AssetFile = Daemon()->AssetDir() + "/" + AssetName; | ||||
|  | ||||
|         if(!AssetFile.isFile()) { | ||||
|             return NotFound(); | ||||
|         } | ||||
|  | ||||
|         SendFile(AssetFile); | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 stephb9959
					stephb9959