Xylopyrographer / STAC

A Roland Smart Tally Atom Client
Other
3 stars 0 forks source link

Prevent favicon Requests #20

Closed Xylopyrographer closed 3 years ago

Xylopyrographer commented 3 years ago

Add the <link rel=\"icon\" href=\"data:,\"> line to the AP web config form to prevent favicon requests from the user's web browser.

// Display the HTML web page
            client.println("<!DOCTYPE html><html>");
            client.println("<head><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">");
            client.println("<link rel=\"icon\" href=\"data:,\">");

Source: https://randomnerdtutorials.com/esp32-web-server-arduino-ide/

Xylopyrographer commented 3 years ago

Added a line in the HTML form page that should prevent favicon requests.