react-notion-x
react-notion-x copied to clipboard
Images are no longer rendering. Looks like the image file format has been changed by Notion
Description
Now, image signed URLs are starting with files.notion.so
for some reason and that case is not being handled by the defaultMapImageUrl
. Because of this, images are no longer rendering correctly.
Check the below notion page for an example.
Notion Test Page ID
39192dc8661e4776a91cfa5eb37c9499
I have the same problem, any one know how it fix?
Yeah, I'm seeing this in some pages as well. But not all of them. May just be on new workspaces or something.
If any of you find a fix, please let us know.
If any of you find a fix, please let us know.
Quick fix I found is using the source from the image block instead of the signed_url
But the signed url is needed because it doesn't expire right?
Signed URLs expire; maybe we can just use the source
directly now? That would be amazing
Hot fix: https://github.com/NotionX/react-notion-x/pull/430
We will watch this to see how the hot fix performs in other scenarios. Once we learn more about the new notion source we can make a better solution.
Looks like now even the audio files have signed URLs starting with file.notion.so
Related: https://github.com/NotionX/react-notion-x/issues/441