khoih-prog / EthernetWebServer

This is simple yet complete WebServer library for AVR, AVR Dx, Portenta_H7, Teensy, SAM DUE, SAMD21/SAMD51, nRF52, STM32, RP2040-based, etc. boards running Ethernet shields. The functions are similar and compatible to ESP8266/ESP32 WebServer libraries to make life much easier to port sketches from ESP8266/ESP32. Coexisting now with `ESP32 WebServer` and `ESP8266 ESP8266WebServer` libraries. Ethernet_Generic library is used as default for W5x00 with custom SPI
MIT License
178 stars 49 forks source link

Fix for a little typo in serveStatic example. #23

Closed AC8L closed 3 years ago

AC8L commented 3 years ago

Also, renaming Ethernet files for ESP8266 gave additional errors from Arduino's built-in Ethernet.cpp about not finding ip addresses. Fixed that by this post: https://forum.arduino.cc/index.php?topic=674477.0 Basically downloaded Arduino beta release of newer ethernet library from: https://github.com/arduino-libraries/Ethernet/archive/master.zip

That fixed compile issues on ESP8266 for good.

khoih-prog commented 3 years ago

Already fixed and tested everything. I won't merge this PR and will post a new release soon.

RE the Ethernet, I never have that problem, possibly I already updated long ago. I never see that IP issue you mentioned.

Anyway, I had several fixes in the Ethernet, Ethernet2, Ethernet3, EThernetLarge libs, be sure to check and update if necessary.

AC8L commented 3 years ago

Thank you! Will hold on.