'Font-awesome 5 icons not found on beta server

I have installed font-awesome following this font-awesome npm tutorial. Now i deployed my application on a server without pointing the URL to the public folder of the project itself. So my URL does not end with .de instead it ends with .de/project-name/public/.

My problem is, the URL for the Icons is build with the base URL so it looks like .de/fonts/vendor/@fortawesome/fontawesome-free/webfa-solid-900.woff2, but i tink it should look like this .de/project-name/public/fonts/vendor/@fortawesome/fontawesome-free/webfa-solid-900.woff2.

I couldn't find a way to do it by myself, help is appreciated. :)

Edit: It's just an intern testing deployment, so no security concerns.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source