From c466f1396f5059227c87bac44d477f6fe89721eb Mon Sep 17 00:00:00 2001 From: Marcus Date: Sat, 26 Oct 2024 18:26:04 +0200 Subject: [PATCH] correct wrong mimetype for cangrow.js --- Arduino/CanGrow/include/Webserver/File_cangrow_JS.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Arduino/CanGrow/include/Webserver/File_cangrow_JS.h b/Arduino/CanGrow/include/Webserver/File_cangrow_JS.h index 77a57a3..ef01dbf 100644 --- a/Arduino/CanGrow/include/Webserver/File_cangrow_JS.h +++ b/Arduino/CanGrow/include/Webserver/File_cangrow_JS.h @@ -57,5 +57,5 @@ function showSelect(selectId, prefix, hideClass = '') { })"; void WebFile_cangrow_JS(AsyncWebServerRequest *request) { - request->send_P(200, "text/css", File_cangrow_JS); + request->send_P(200, "text/javascript", File_cangrow_JS); }