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

Adjust CORS for Static Fonts #2972

Closed
3 tasks
K8Sewell opened this issue Nov 22, 2024 · 2 comments
Closed
3 tasks

Adjust CORS for Static Fonts #2972

K8Sewell opened this issue Nov 22, 2024 · 2 comments

Comments

@K8Sewell
Copy link

K8Sewell commented Nov 22, 2024

Summary

Post enabling CSP configurations numerous errors for static fonts' website CORS settings. This ticket is to update the static.library.yale.edu site with conducive CORS settings.

Acceptance Criteria

  • static font at https://static.library.yale.edu/fonts/mallory/Mallory-Light.woff updated to allow cross origin for collections*.library.yale.edu/management
  • static font at https://static.library.yale.edu/fonts/mallory/Mallory-Light.woff2 updated to allow cross origin for collections*.library.yale.edu/management
  • static font at https://static.library.yale.edu/fonts/yaledisplay/YaleDisplay-Roman.ttf updated to allow cross origin for collections*.library.yale.edu

Screenshots

Management

Image

Blacklight

Image

Engineering Notes

Management

Mallory-Book and Yale New Roman work
Mallory-Light does not work

Blacklight

MalloryMP-Medium, Yale New Roman, MalloryMP-Black, and Mallory-Book work
Yale Display Roman does not (woff works, ttf does not)

@ra359
Copy link

ra359 commented Dec 16, 2024

INC2940098 created and assigned to ITS/SpinUp team.

@jillpe jillpe added the waiting waiting on external resources label Dec 17, 2024
@K8Sewell K8Sewell removed the waiting waiting on external resources label Dec 19, 2024
@K8Sewell
Copy link
Author

No longer seeing CORS errors for static fonts on management or blacklight.

Image Image Image Image

@jillpe jillpe closed this as completed Dec 19, 2024
@K8Sewell K8Sewell mentioned this issue Jan 9, 2025
1 task
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