Skip to content

Commit 7a16bfd

Browse files
eduard93zitros
authored andcommitted
Set encoding for ttf and woff files
Fixes #7
1 parent fabbb7d commit 7a16bfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cls/EntityBrowser/ServeXData.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Parameter Files As CONFIGVALUE;
2929
Parameter Encoding As %String = "utf-8";
3030

3131
/// List of mime types second parts (delimited by slash), which will Encoding be set for.
32-
Parameter UseEncodingFor = {$LB("html", "css", "javascript", "plain")};
32+
Parameter UseEncodingFor = {$LB("html", "css", "javascript", "plain", "ttf", "woff")};
3333

3434
/// A generator for Files parameter.
3535
ClassMethod FillFiles() As %Status [ CodeMode = objectgenerator ]

0 commit comments

Comments
 (0)