Static assets (images, CSS) not loading on a domain

I’m facing an issue where the assets are not loading.
The same deployment works perfectly on one domain but breaks (missing CSS and images) on the other domain.

:x: Broken: https://omni-lime.vercel.app/login
:white_check_mark: Working: https://platform.omni-41.co.uk/login

The domain troubleshooting guide can help with most custom domain configuration issues. You might be able to use that guide to solve it before a human is available to help you. Then you can come back here and share the answer for bonus points.

You can also use v0 to narrow down the possibilities.

Your recent deploys are marked as “Production: Staged” which means they are ready to be promoted to production but that hasn’t happened yet. For that reason, your production domain is several versions behind

You can see this by scrolling down your deployments list and you should see a blue badge marked “Current” on the live version

You can manually promote a deployment to production by clicking it and using the settings in the top right to “Promote”

If you go to project settings → environments → production, you should be able to see the setting for Auto Assign Custom Production Domains which I suspect is disabled. When this is disabled, you are in manual control of promoting each deploy to production, but if you enable it then you should get the behavior you’re looking for

1 Like