hoping for some help. I have a rails project that in production does not seem to be compiling the fonts.
In my application.rb file I have
class Application < Rails::Application
config.assets.paths << Rails.root.join("app", "assets", "fonts")
end
With the fonts being added to my scss file like
@font-face {
font-family: 'Jaapokki';
src: asset-url("/assets/Jaapokki-Regular.eot");
src: asset-url("/assets/Jaapokki-Regular.eot?#iefix")
format("embedded-opentype"), asset-url("/assets/Jaapokki-Regular.woff") format("woff"), asset-url("/assets/Jaapokki-Regular.ttf") format("truetype");
font-weight: normal;
font-style: normal;
}
but I get an error in the chrome development console of
GET https://mve.herokuapp.com/assets/Jaapokki-Regular.woff net::ERR_ABORTED
Now this works in development, and I have used a similar set-up when deploying to an aws server. However this app is deployed to heroku which seems to be giving me problems. I guess the first question is how can I check if my fonts are even compiling when pushing to production.
Any help is greatly appreciated thank!