Skip to content

Commit

Permalink
🎨 Improve font loading #13672
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Dec 31, 2024
1 parent 289e16b commit 163058a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/util/working.go
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ func initMime() {
mime.AddExtensionType(".mjs", "text/javascript")
mime.AddExtensionType(".html", "text/html")
mime.AddExtensionType(".json", "application/json")
mime.AddExtensionType(".woff2", "font/woff2")

// 某些系统上下载资源文件后打开是 zip https://github.com/siyuan-note/siyuan/issues/6347
mime.AddExtensionType(".doc", "application/msword")
Expand Down

0 comments on commit 163058a

Please sign in to comment.