Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

font-awesome and air-gaps #488

Closed
ForsetiJan opened this issue Jan 18, 2024 · 3 comments
Closed

font-awesome and air-gaps #488

ForsetiJan opened this issue Jan 18, 2024 · 3 comments

Comments

@ForsetiJan
Copy link

We run a copy of the website on an air-gapped environment for easier reference for our analysts. Since the update to v14 we have experienced issues loading any page until explicitly cancelled. This is caused by client attempting to load font-awesome.min.css from https://cdnjs.cloudflare.com/ajax/libs/font-awesome/<version</css/font-awesome.min.css

I would like to suggest to include the font in the application to allow for offline hosting. The MIT license should allow for it.

@jondricek
Copy link
Contributor

We just addressed this in the latest version of the website today (version 4.1.0). Let us know if you have any issues with it!

@ForsetiJan
Copy link
Author

The specific issue was fixed however I believe there is one more we should move locally. It doesn't affect performance or usability but the app is trying to access:

https://cdnjs.cloudflare.com/ajax/libs/uswds/3.7.1/fonts/source-sans-pro/sourcesanspro-regular-webfront.woff22
to which it was referred by
https://cdnjs.cloudflare.com/ajax/libs/uswds/3.7.1/css/uswds.min.css

This points me this to this line:

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uswds/3.7.1/css/uswds.min.css" />

@clemiller
Copy link
Contributor

Hi @ForsetiJan, just a quick update to let you know that we have removed the USWDS CDN link from the base-template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants