Skip to content

Conversation

@lihbr
Copy link
Member

@lihbr lihbr commented Nov 27, 2024

🔗 Linked issue

Resolves: #1600

❓ 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

Some images distributed through Prismic are images directly served by Unsplash's CDN. This PR takes that into account within the Prismic provider to redirect Unsplash images to the Unsplash provider.

@lihbr lihbr requested a review from danielroe as a code owner November 27, 2024 17:09
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.93%. Comparing base (d2e4eb0) to head (a609f24).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1614      +/-   ##
==========================================
- Coverage   62.98%   62.93%   -0.06%     
==========================================
  Files          79       79              
  Lines        3534     3529       -5     
  Branches      406      407       +1     
==========================================
- Hits         2226     2221       -5     
  Misses       1279     1279              
  Partials       29       29              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@Baroshem Baroshem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing work @lihbr !

@danielroe danielroe merged commit 7f33656 into main Nov 29, 2024
3 checks passed
@danielroe danielroe deleted the fix/prismic-unsplash-image-proxy branch November 29, 2024 10:11
@github-actions github-actions bot mentioned this pull request Nov 29, 2024
@github-actions github-actions bot mentioned this pull request Jan 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.

Prismic provider doesn't work when selecting a placeholder image from Unsplash

5 participants