Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(ipx): always use ipx provider if external baseURL is provided #1800

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 6, 2025

Conversation

danielroe
Copy link
Member

πŸ”— Linked issue

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

it's possible to use a self-hosted ipx instance and in this case we don't need to add an /_ipx handler. And we can support ipx even on non-node targets.

in such a case, this PR avoids setting up the handler and doesn't disable ipx outside a node environment.

@danielroe danielroe requested review from atinux and pi0 April 5, 2025 08:19
Copy link

cloudflare-workers-and-pages bot commented Apr 5, 2025

Deploying nuxt-image with Β Cloudflare Pages Β Cloudflare Pages

Latest commit: 3e093cc
Status:Β βœ…Β  Deploy successful!
Preview URL: https://e151d6d4.nuxt-image.pages.dev
Branch Preview URL: https://fix-external-ipx.nuxt-image.pages.dev

View logs

Copy link

pkg-pr-new bot commented Apr 5, 2025

Open in StackBlitz

npm i https://pkg.pr.new/@nuxt/image@1800

commit: 3e093cc

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 90.90909% with 1 line in your changes missing coverage. Please review.

Project coverage is 62.89%. Comparing base (5dcaea2) to head (3e093cc).

Files with missing lines Patch % Lines
src/module.ts 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1800      +/-   ##
==========================================
- Coverage   62.91%   62.89%   -0.02%     
==========================================
  Files          81       81              
  Lines        3772     3776       +4     
  Branches      431      432       +1     
==========================================
+ Hits         2373     2375       +2     
- Misses       1371     1373       +2     
  Partials       28       28              

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

πŸš€ New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • πŸ“¦ JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@danielroe danielroe merged commit 393ec8a into main Apr 6, 2025
7 checks passed
@danielroe danielroe deleted the fix/external-ipx branch April 6, 2025 14:16
This was referenced Apr 6, 2025
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.

2 participants