mirror of
https://github.com/esphome/esphome.git
synced 2025-10-24 12:43:51 +01:00
Cleanup web server prometheus integration (#1192)
This commit is contained in:
@@ -3,9 +3,6 @@
|
||||
#include "esphome/core/component.h"
|
||||
#include "esphome/core/controller.h"
|
||||
#include "esphome/components/web_server_base/web_server_base.h"
|
||||
#ifdef WEBSERVER_PROMETHEUS
|
||||
#include "esphome/components/web_server/web_server_prometheus.h"
|
||||
#endif
|
||||
|
||||
#include <vector>
|
||||
|
||||
@@ -173,10 +170,6 @@ class WebServer : public Controller, public Component, public AsyncWebHandler {
|
||||
const char *css_include_{nullptr};
|
||||
const char *js_url_{nullptr};
|
||||
const char *js_include_{nullptr};
|
||||
|
||||
#ifdef WEBSERVER_PROMETHEUS
|
||||
WebServerPrometheus prometheus;
|
||||
#endif
|
||||
};
|
||||
|
||||
} // namespace web_server
|
||||
|
||||
Reference in New Issue
Block a user