Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(react-ui-shadcn): fix cors issues loading images#131

Draft
stephancill wants to merge 1 commit intomain from
fix/react-ui-shadcn-anonymous-cors
Draft

fix(react-ui-shadcn): fix cors issues loading images #131
stephancill wants to merge 1 commit intomain from
fix/react-ui-shadcn-anonymous-cors

Conversation

@stephancill
Copy link
Contributor

@stephancill stephancill commented Dec 19, 2023
edited
Loading

Change Summary

Add crossOrigin="anonymous" attribute to ImageRenderer <img> elements.

Partially addresses #116 (no graceful fallback for broken images yet)

Merge Checklist

  • PR has a changeset
  • PR includes documentation if necessary
  • PR updates the rich-embed examples if necessary
  • includes a parallel PR for Mod-starter and the gateway if necessary

Copy link

changeset-bot bot commented Dec 19, 2023

🦋 Changeset detected

Latest commit: 09067ee

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@mod-protocol/react-ui-shadcn Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Dec 19, 2023
edited
Loading

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api ✅ Ready (Inspect) Visit Preview Dec 19, 2023 9:40am
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 19, 2023 9:40am
example-nextjs-shadcn ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 19, 2023 9:40am

Copy link
Contributor Author

Might actually be better to implement #132 and offload the choice of how to handle CORS to the client

davidfurlong reacted with thumbs up emoji

Copy link
Contributor

fine with either or both.

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

Reviewers

@davidfurlong davidfurlong davidfurlong approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /