Use filename parameter of getFont.php for FontAwesome
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 28 Jul 2020 10:47:47 +0000 (12:47 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 28 Jul 2020 10:47:47 +0000 (12:47 +0200)
wcfsetup/install/files/style/icon/icon.scss

index 95da242ba9d1a7eabcf7a6840a3badafe7bc0aba..133ce5c4b71cafb01f7208978816b2724e0be361 100644 (file)
@@ -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;
 }