mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-12 21:18:13 +08:00
added icon font
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user