Skip to content

fix(config): whitelist ik.imagekit.io in remotePatterns#6

Open
abdout wants to merge 1 commit into
mainfrom
fix/config-imagekit-remotepattern
Open

fix(config): whitelist ik.imagekit.io in remotePatterns#6
abdout wants to merge 1 commit into
mainfrom
fix/config-imagekit-remotepattern

Conversation

@abdout
Copy link
Copy Markdown
Contributor

@abdout abdout commented Apr 25, 2026

Summary

  • Adds `ik.imagekit.io` to `next.config.ts` `images.remotePatterns`.
  • Unblocks the OptimizedImage migration (PR-12 in the remediation plan); without this, any `next/image` pointing at `https://ik.imagekit.io/*\` returns 400.

Changes

  • `next.config.ts` — appended ImageKit entry to `images.remotePatterns`

Test plan

  • Render an `<Image src="https://ik.imagekit.io/databayt/...\" />` → no "Invalid src" warning, image loads
  • Existing pravatar/unsplash/website-files/githubusercontent URLs still work

Closes #5

🤖 Generated with Claude Code

ImageKit is the project CDN per imagekit.md. Without it whitelisted,
any next/image pointing at https://ik.imagekit.io/* is rejected at
runtime, blocking the OptimizedImage migration.

Closes #5

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
marketing Ready Ready Preview, Comment Apr 25, 2026 8:34am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(config): whitelist ik.imagekit.io in next.config images.remotePatterns

1 participant