From 24ac0e420f4398cbaf983d680d9028eb1f484748 Mon Sep 17 00:00:00 2001 From: Regis Philibert Date: Thu, 1 Dec 2022 14:48:18 -0500 Subject: [PATCH] Improve media fix --- core/fonts/private/GetMediaType.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/fonts/private/GetMediaType.html b/core/fonts/private/GetMediaType.html index dccf608..cc83a69 100644 --- a/core/fonts/private/GetMediaType.html +++ b/core/fonts/private/GetMediaType.html @@ -24,7 +24,7 @@ {{ $MainType = . }} {{ end }} -{{ $MediaType := "%s/%s" $MainType $SubType }} +{{ $format := printf "%s/%s" $MainType $SubType }} {{/* Another weirdness for some files depending on hosting plaftorm. Some woff file would return application/font-woff