Repository navigation
Fix external image 502 error, upgrade Next.js to 15.5.11, sync pnpm lockfile - #9
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: maltoze <18044730+maltoze@users.noreply.github.com>
Co-authored-by: maltoze <18044730+maltoze@users.noreply.github.com>
Co-authored-by: maltoze <18044730+maltoze@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix bad gateway issue for external image request
Fix external image authorization and upgrade Next.js to 15.5.11
Feb 3, 2026
Co-authored-by: maltoze <18044730+maltoze@users.noreply.github.com>
Copilot
AI
changed the title
Fix external image authorization and upgrade Next.js to 15.5.11
Fix external image authorization, upgrade Next.js to 15.5.11, and sync pnpm lockfile
Feb 3, 2026
Co-authored-by: maltoze <18044730+maltoze@users.noreply.github.com>
Co-authored-by: maltoze <18044730+maltoze@users.noreply.github.com>
Co-authored-by: maltoze <18044730+maltoze@users.noreply.github.com>
Copilot
AI
changed the title
Fix external image authorization, upgrade Next.js to 15.5.11, and sync pnpm lockfile
Fix external image 502 error, upgrade Next.js to 15.5.11, sync pnpm lockfile
Feb 3, 2026
maltoze
approved these changes
Feb 3, 2026
maltoze
marked this pull request as ready for review
February 3, 2026 02:13
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
External image from
bing.biturl.topfailed withOPTIMIZED_EXTERNAL_IMAGE_REQUEST_UNAUTHORIZED. Additionally, Next.js 12.3.7 contained authorization bypass and DoS CVEs requiring upgrade. The upgrade inadvertently used npm, desynchronizing pnpm-lock.yaml.Changes
Image Configuration
pathname: '/' → '/**'to match URLs with query parametersunoptimizedprop to bypass Next.js image optimization for direct external servingSecurity & Compatibility
next/future/image→next/image(Next.js 13+ API)swcMinifyconfig optionBuild System
package-lock.json(npm artifact from upgrade)pnpm-lock.yamlwith lockfile v9.0pnpm install --frozen-lockfilefor CI/CD compatibilityNotes
The external domain may be unreachable in some environments due to DNS resolution. Configuration follows Next.js best practices and will function when domain is accessible.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
bing.biturl.top/usr/bin/curl curl -I REDACTED(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.