From 492b76c8c938be57033147caf9cb00d9ef2642fe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 28 Jul 2020 12:47:47 +0200 Subject: [PATCH] Use filename parameter of getFont.php for FontAwesome --- wcfsetup/install/files/style/icon/icon.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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; } -- 2.20.1