From: Tim Düsterhus Date: Tue, 28 Jul 2020 10:47:47 +0000 (+0200) Subject: Use filename parameter of getFont.php for FontAwesome X-Git-Tag: 5.3.0_Alpha_1~115^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=492b76c8c938be57033147caf9cb00d9ef2642fe;p=GitHub%2FWoltLab%2FWCF.git Use filename parameter of getFont.php for FontAwesome --- diff --git a/wcfsetup/install/files/style/icon/icon.scss b/wcfsetup/install/files/style/icon/icon.scss index 95da242ba9..133ce5c4b7 100644 --- a/wcfsetup/install/files/style/icon/icon.scss +++ b/wcfsetup/install/files/style/icon/icon.scss @@ -1,11 +1,11 @@ /* do NOT reference fonts directly, always make use of 'getFont.php' */ @font-face { font-family: 'FontAwesome'; - src: url('../font/getFont.php?type=eot&v=4.7.0'); - src: url('../font/getFont.php?type=eot&v=4.7.0#iefix') format('embedded-opentype'), - url('../font/getFont.php?type=woff2&v=4.7.0') format('woff2'), - url('../font/getFont.php?type=woff&v=4.7.0') format('woff'), - url('../font/getFont.php?type=ttf&v=4.7.0') format('truetype'); + src: url('../font/getFont.php?filename=fontawesome-webfont.eot&v=4.7.0'); + src: url('../font/getFont.php?filename=fontawesome-webfont.eot&v=4.7.0#iefix') format('embedded-opentype'), + url('../font/getFont.php?filename=fontawesome-webfont.woff2&v=4.7.0') format('woff2'), + url('../font/getFont.php?filename=fontawesome-webfont.woff&v=4.7.0') format('woff'), + url('../font/getFont.php?filename=fontawesome-webfont.ttf&v=4.7.0') format('truetype'); font-weight: normal; font-style: normal; }