We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Yes
font, public_url
"react-scripts": "^2.0.1"
The font URL should be http://localhost:5000/static/media/Roboto-Regular.3e1af3ef.ttf It was working perfectly with CRA v1.
http://localhost:5000/static/media/Roboto-Regular.3e1af3ef.ttf
The font URL is http://localhost:5000/static/css/static/media/Roboto-Regular.3e1af3ef.ttf
http://localhost:5000/static/css/static/media/Roboto-Regular.3e1af3ef.ttf
I've created a repo to reproduce: https://github.com/sylvhama/cra2-font-bug
Failed to decode downloaded font: http://localhost:5000/static/css/static/media/Roboto-Regular.3e1af3ef.ttf
The text was updated successfully, but these errors were encountered:
shouldUseRelativeAssetPaths
No branches or pull requests
Is this a bug report?
Yes
Did you try recovering your dependencies?
Yes
Which terms did you search for in User Guide?
font, public_url
Environment
"react-scripts": "^2.0.1"
Steps to Reproduce
Expected Behavior
The font URL should be
http://localhost:5000/static/media/Roboto-Regular.3e1af3ef.ttf
It was working perfectly with CRA v1.
Actual Behavior
The font URL is
http://localhost:5000/static/css/static/media/Roboto-Regular.3e1af3ef.ttf
Reproducible Demo
I've created a repo to reproduce: https://github.com/sylvhama/cra2-font-bug
Failed to decode downloaded font: http://localhost:5000/static/css/static/media/Roboto-Regular.3e1af3ef.ttf
The text was updated successfully, but these errors were encountered: