Skip to content

Conversation

@atinux
Copy link
Member

@atinux atinux commented Apr 3, 2025

πŸ”— Linked issue

Should resolves #1080

❓ Type of change

  • 🐞 Bug fix (a non-breaking change that fixes an issue)

πŸ“š Description

Using Cloudflare means setting the baseURL as a domain.

But if no modifiers/operations are set, it will join the urls, making it fail when the source is an absolute url.

@atinux atinux requested a review from danielroe as a code owner April 3, 2025 16:10
@cloudflare-workers-and-pages
Copy link

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

Deploying nuxt-image with Β Cloudflare Pages Β Cloudflare Pages

Latest commit: 1a5786c
Status:Β βœ…Β  Deploy successful!
Preview URL: https://d608ebb1.nuxt-image.pages.dev
Branch Preview URL: https://fix-cloudflare-baseurl.nuxt-image.pages.dev

View logs

@codecov-commenter
Copy link

codecov-commenter commented Apr 3, 2025

Codecov Report

All modified and coverable lines are covered by tests βœ…

Project coverage is 63.01%. Comparing base (d29e114) to head (1a5786c).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1790   +/-   ##
=======================================
  Coverage   63.01%   63.01%           
=======================================
  Files          80       80           
  Lines        3742     3742           
  Branches      426      426           
=======================================
  Hits         2358     2358           
  Misses       1356     1356           
  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 b6ace31 into main Apr 3, 2025
8 of 9 checks passed
@danielroe danielroe deleted the fix-cloudflare-baseurl branch April 3, 2025 16:53
This was referenced Apr 3, 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.

NuxtImg incomplete url using Cloudflare provider

4 participants