added icon font

This commit is contained in:
2ndacc
2020-02-24 21:13:01 +08:00
parent 12c0f8ba21
commit f9b6559e75
3 changed files with 9 additions and 1 deletions

View File

@@ -141,6 +141,12 @@ static int HttpGetAssets(httpd_request_t *req)
file_data = css_pack;
content_type = HTTP_CONTENT_CSS_ZIP;
}
else if (strcmp(file_name + 8, "web_icons.woff2") == 0)
{
total_sz = sizeof(web_icons_woff2);
file_data = web_icons_woff2;
content_type = HTTP_CONTENT_WOFF2;
}
if (total_sz == 0) return err;