Upon deploying my web project on the client server, I encountered an error and noticed slow page loading.
GET https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic net::ERR_CONNECTION_TIMED_OUT
The browser displayed an error related to the jQuery javascript code:
<script type="text/javascript" src="/DART/static/assets/plugins/jQuery/jQuery-2.1.4.min.js"></script>
All CSS and JavaScript files are contained within my project due to firewall restrictions blocking external URLs. I identified a line in the CSS file that needs to be replaced with a local URL.
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic);
I downloaded the required fonts from localfont.com. How can I integrate them into my project? Thank you
RESOLVED:
Following GeorgeGkas's advice, I added the folder obtained from localfont.com to my project. Subsequently, I had to modify all URLs in the font.css file by adding ../ before each one. For instance,
url('/fonts/Source-Sans-Pro-300/Source-Sans-Pro-300.eot');
was changed to url('../fonts/Source-Sans-Pro-300/Source-Sans-Pro-300.eot');
Thank you