mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 21:44:55 +01: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
1 changed files with 2 additions and 2 deletions
|
@ -88,12 +88,12 @@ class WebServer : public Controller, public Component, public AsyncWebHandler {
|
||||||
/// Handle an index request under '/'.
|
/// Handle an index request under '/'.
|
||||||
void handle_index_request(AsyncWebServerRequest *request);
|
void handle_index_request(AsyncWebServerRequest *request);
|
||||||
|
|
||||||
#ifdef WEBSERVER_CSS_INCLUDE
|
#ifdef USE_WEBSERVER_CSS_INCLUDE
|
||||||
/// Handle included css request under '/0.css'.
|
/// Handle included css request under '/0.css'.
|
||||||
void handle_css_request(AsyncWebServerRequest *request);
|
void handle_css_request(AsyncWebServerRequest *request);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WEBSERVER_JS_INCLUDE
|
#ifdef USE_WEBSERVER_JS_INCLUDE
|
||||||
/// Handle included js request under '/0.js'.
|
/// Handle included js request under '/0.js'.
|
||||||
void handle_js_request(AsyncWebServerRequest *request);
|
void handle_js_request(AsyncWebServerRequest *request);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue