mirror of
				https://github.com/esphome/esphome.git
				synced 2025-11-04 09:01:49 +00:00 
			
		
		
		
	Merge branch 'captive_portal_progmem_8266' into integration
This commit is contained in:
		@@ -100,7 +100,7 @@ void CaptivePortal::handleRequest(AsyncWebServerRequest *req) {
 | 
			
		||||
#ifndef USE_ESP8266
 | 
			
		||||
    auto *response = req->beginResponse(200, F("text/html"), INDEX_GZ, sizeof(INDEX_GZ));
 | 
			
		||||
#else
 | 
			
		||||
    auto *response = req->beginResponse_P(200, "text/html", INDEX_GZ, sizeof(INDEX_GZ));
 | 
			
		||||
    auto *response = req->beginResponse_P(200, F("text/html"), INDEX_GZ, sizeof(INDEX_GZ));
 | 
			
		||||
#endif
 | 
			
		||||
    response->addHeader(F("Content-Encoding"), F("gzip"));
 | 
			
		||||
    req->send(response);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user