默认新页面, 隐藏密码

This commit is contained in:
zogodo
2020-02-23 23:21:34 +08:00
parent 06ad0ee91d
commit a38d2d97c4
3 changed files with 421 additions and 398 deletions

View File

@@ -93,10 +93,10 @@ static int HttpGetIndexPage(httpd_request_t *req)
{
OSStatus err = kNoErr;
err = httpd_send_all_header(req, HTTP_RES_200, sizeof(web_index_html), HTTP_CONTENT_HTML_ZIP);
err = httpd_send_all_header(req, HTTP_RES_200, sizeof(web_demo_html), HTTP_CONTENT_HTML_ZIP);
require_noerr_action(err, exit, http_log("ERROR: Unable to send http wifisetting headers."));
err = httpd_send_body(req->sock, web_index_html, sizeof(web_index_html));
err = httpd_send_body(req->sock, web_demo_html, sizeof(web_demo_html));
require_noerr_action(err, exit, http_log("ERROR: Unable to send http wifisetting body."));
exit: