Use correct http defines (#3378)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Janez Troha 2022-04-13 00:14:21 +02:00 committed by GitHub
parent 7895cd92cd
commit 99335d986e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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