Skip to content

Instantly share code, notes, and snippets.

@delasign
Created April 18, 2024 17:52
Show Gist options
  • Save delasign/ff4f616caf2dafd2a1bed45ef8fcc062 to your computer and use it in GitHub Desktop.
Save delasign/ff4f616caf2dafd2a1bed45ef8fcc062 to your computer and use it in GitHub Desktop.
Example nextConfig to work with contentful.
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
remotePatterns: [{
protocol: "https",
hostname: "images.ctfassets.net",
port: "",
pathname: "/**"
}]
}
};
export default nextConfig;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment