I have deployed my learning/tools project on Render.com.
However, I’m running into an issue. I have used custom Fonts for my site, which works in dev and production build locally, however, when I deploy it using Render, it fails.
In digested CSS, the font is supposed to be referred in this way:
In digested CSS, the font is referred in this way:
# exit on error
set -o errexit
# Initial setup
mix deps.get --only prod
MIX_ENV=prod mix compile
# Compile assets
MIX_ENV=prod mix assets.deploy
# Build the release and overwrite the existing release directory
MIX_ENV=prod mix release --overwrite
I’m using Elixir & Phoenix.
The prod build works amicably locally:
However, after deploying to Render, the hash values are not being generated.
When running your production build locally are you also using Docker?
Render Support, UTC+10
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.