The issue
In /public/assets/fonts/ I have UbuntuCondensed-Regular.ttf
In CSS i have
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Ubuntu Condensed';
font-style: normal;
font-weight: 400;
src: url('https://mywebsite.de/public/assets/fonts/UbuntuCondensed-Regular.ttf') format('truetype'), /* Safari, Android, iOS */
}
body {
font-family:'Ubuntu Condensed', sans-serif;
}
Font is not loaded, but all other fonts in folder /fonts (Fonts Awesome) are perfectly loaded to the website.
Browser shows "Failed to load resource: the server responded with a status of 404 () https://mywebsite.de/public/assets/fonts/UbuntuCondensed-Regular.ttf"
Flarum information
Flarum core: 1.7.2
PHP version: 7.4.33
MySQL version: 10.5.19-MariaDB-1:10.5.19+maria~ubu2004-log
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, pcntl, Reflection, SPL, session, standard, sodium, propro, raphf, iconv, mysqlnd, PDO, xml, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, fileinfo, ftp, gd, gender, gettext, gmp, http, imagick, imap, intl, json, ldap, mailparse, exif, mongodb, mysqli, OAuth, odbc, pdo_dblib, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, shmop, SimpleXML, soap, sqlite3, sysvsem, sysvshm, tidy, tokenizer, xmlreader, xmlwriter, xsl, zip, ionCube Loader
+-----------------------------+---------+--------+
| Flarum Extensions | | |
+-----------------------------+---------+--------+
| ID | Version | Commit |
+-----------------------------+---------+--------+
| flarum-flags | v1.7.0 | |
| flarum-approval | v1.7.0 | |
| fof-sitemap | 1.0.3 | |
| flarum-suspend | v1.7.0 | |
| flarum-subscriptions | v1.7.0 | |
| flarum-tags | v1.7.1 | |
| flarum-markdown | v1.7.0 | |
| webbinaro-calendar | 1.0.3 | |
| v17development-seo | v1.8.0 | |
| the-turk-flamoji | 1.0.4 | |
| justoverclock-custom-header | 0.1.5 | |
| fof-user-bio | 1.1.1 | |
| fof-upload | 1.2.3 | |
| fof-subscribed | 1.1.3 | |
| fof-split | 1.1.0 | |
| fof-spamblock | 1.1.0 | |
| fof-recaptcha | 1.1.1 | |
| fof-polls | 1.3.0 | |
| fof-pages | 1.0.5 | |
| fof-merge-discussions | 1.3.1 | |
| fof-links | 1.1.3 | |
| fof-linguist | 1.1.1 | |
| fof-ignore-users | 1.2.0 | |
| fof-follow-tags | 1.1.7 | |
| fof-cookie-consent | 1.1.1 | |
| fof-byobu | 1.2.0 | |
| flarum-sticky | v1.7.0 | |
| flarum-statistics | v1.7.0 | |
| flarum-pusher | v1.7.0 | |
| flarum-nicknames | v1.7.0 | |
| flarum-mentions | v1.7.0 | |
| flarum-lock | v1.7.0 | |
| flarum-likes | v1.7.0 | |
| flarum-lang-german | 1.4.8 | |
| flarum-emoji | v1.7.0 | |
| flarum-bbcode | v1.7.0 | |
| datlechin-link-preview | v1.3.2 | |
| askvortsov-rich-text | v2.1.7 | |
| askvortsov-pwa | v3.1.3 | |
+-----------------------------+---------+--------+
Base URL: https://podencoforum.de
Installation path: /www/htdocs/w0171053/podencoforum.de
Queue driver: sync
Session driver: file
Scheduler status: Nie ausführen
Mail driver: smtp
Debug mode: off
I've googled a lot and didn't find a solution. I bet it is just a little change to a file or so.