Ok, so the question might sound extremely easy to be answered and trust me I've gone through the next js docs already! I think what I am experiencing in my next js project might be bug or something that I'm missing out.
I have custom fonts in .ttf format and they are inside a folder called ''fonts'' inside of the public folder, when I run my project with npm run dev and check it on localhost my fonts are imported and applied properly to the pages but in production my next js app just seems not to be able to load/find the fonts!
When I open my project in production the standard font is applied and in the console tab I can see an error message saying: Failed to load resource: the server responded with a status of 404 () and that message is associated with the fonts that were not loaded/found!
So the main problem is that in development everything works and expected and the error/bug doesn't happen, only in production that the fonts dont get loaded or found.