-
Notifications
You must be signed in to change notification settings - Fork 4k
Allow static serving for common font files #10335
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
Allow static serving for common font files #10335
Conversation
|
You can add tests to verify that fonts are served with the correct extensions. Also in case if it was guessed wrongly by Tornado, or we suspect that it could be wrongly guessed on any OS, you can provide that mapping manually in the See this PR #10010 for details. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Applied a small refactoring to make it slightly simpler to add new file extensions
Describe your changes
This PR adds support for serving common font file types - ttf, woff2, woff, otf - via the static serving feature.
Testing Plan
Contribution License Agreement
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.