const char hello_html[] = "

Hello World!

"; HTTPPage pages[] = { HTTPPageRedirect("/", "/hello.html"), // Redirect root to hello page HTTPPage("/hello.html", HTTP_MIME_TEXT_HTML, hello_html), }; uint8_t pagecount = sizeof(pages)/sizeof(HTTPPage); // Declare HTTPServer with max number of pages AdafruitHTTPServer httpserver(pagecount);