mirror of
				https://github.com/esphome/esphome.git
				synced 2025-11-04 09:01:49 +00:00 
			
		
		
		
	Gah, that was unnecessary
This commit is contained in:
		@@ -5,9 +5,6 @@
 | 
			
		||||
namespace esphome {
 | 
			
		||||
namespace prometheus {
 | 
			
		||||
 | 
			
		||||
// Longest: HORIZONTAL
 | 
			
		||||
#define PSTR_LOCAL(mode_s) strncpy_P(buf, (PGM_P) ((mode_s)), 15)
 | 
			
		||||
 | 
			
		||||
void PrometheusHandler::handleRequest(AsyncWebServerRequest *req) {
 | 
			
		||||
  AsyncResponseStream *stream = req->beginResponseStream("text/plain; version=0.0.4; charset=utf-8");
 | 
			
		||||
  std::string area = App.get_area();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user