mirror of
https://github.com/esphome/esphome.git
synced 2025-01-31 02:00:55 +00:00
Use correct http defines (#3378)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
7895cd92cd
commit
99335d986e
@ -88,12 +88,12 @@ class WebServer : public Controller, public Component, public AsyncWebHandler {
|
||||
/// Handle an index request under '/'.
|
||||
void handle_index_request(AsyncWebServerRequest *request);
|
||||
|
||||
#ifdef WEBSERVER_CSS_INCLUDE
|
||||
#ifdef USE_WEBSERVER_CSS_INCLUDE
|
||||
/// Handle included css request under '/0.css'.
|
||||
void handle_css_request(AsyncWebServerRequest *request);
|
||||
#endif
|
||||
|
||||
#ifdef WEBSERVER_JS_INCLUDE
|
||||
#ifdef USE_WEBSERVER_JS_INCLUDE
|
||||
/// Handle included js request under '/0.js'.
|
||||
void handle_js_request(AsyncWebServerRequest *request);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user