Search found 1 match
- Thu Oct 15, 2020 12:05 pm
- Forum: ESP32 Arduino
- Topic: What's wrong with my httpd code?
- Replies: 0
- Views: 1443
What's wrong with my httpd code?
Hi all, I'm trying to serve html from my SPIFSS but I only get a blank page. When I print the char buffer to Serial it looks like the complete html. What is wrong with my code? Can anyone help please? char file_buf[24000]; static esp_err_t index_handler(httpd_req_t *req) { httpd_resp_set_type(req, "...