'Site deployment issue

I am trying to deploy my portoflio website live. When I do so, 3d models and one of the fonts doesn't load. Also on a mobile it is lagging.

But when i run locally on a live server, everything works just fine and smooth. All models and fonts are being fully loaded.

I've done npm run build, also tried reorganizing folders.

I am newbie and most probably making silly mistake, but couldn't fine solution so far.

Below is my code.

https://github.com/piotr-bania/Piotr_Bania_Portfolio_2022

Thanks for any help!!!!



Sources

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

Source: Stack Overflow

Solution Source