#Next-Image rendering discrepancies locally and production

2 messages · Page 1 of 1 (latest)

ocean heath
#

I am running Next 13.1.1 but using import Image from "next/image";

ocean heath
#

Solution: Turns out my next.config.js wasn't pushed to github, causing the domains to not be registered. I'd kept the file in .gitignore as it had my env vars for contentful. I removed the env vars from next.config.js and added them to .env.local, and pushed the config.js file with only my domains in there and it worked.