From b7ca079d9dbc84ff4edf28973a2d45c863884676 Mon Sep 17 00:00:00 2001 From: tablatronix <807787+tablatronix@users.noreply.github.com> Date: Tue, 19 Apr 2022 20:55:24 -0500 Subject: [PATCH] add favicon example --- .../OnDemandConfigPortal.ino | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/examples/Super/OnDemandConfigPortal/OnDemandConfigPortal.ino b/examples/Super/OnDemandConfigPortal/OnDemandConfigPortal.ino index fc8ec32..49eae9a 100644 --- a/examples/Super/OnDemandConfigPortal/OnDemandConfigPortal.ino +++ b/examples/Super/OnDemandConfigPortal/OnDemandConfigPortal.ino @@ -144,11 +144,21 @@ void setup() { custom_html.setValue("test",4); custom_token.setValue("test",4); - // set custom html head content , inside - const char* headhtml = ""; - wm.setCustomHeadElement(headhtml); + // const char* icon = " + // "; - // set custom html menu content , inside + + // set custom html head content , inside + // examples of favicon, or meta tags etc + // const char* headhtml = ""; + // const char* headhtml = ""; + // wm.setCustomHeadElement(headhtml); + + // set custom html menu content , inside menu item "custom", see setMenu() const char* menuhtml = "

\n"; wm.setCustomMenuHTML(menuhtml);