Skip to content
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

fix: load images by safely add spaceId to searchParams #590

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

mfts
Copy link
Contributor

@mfts mfts commented Nov 21, 2024

Description

This PR fixes the broken images and files in Notion.

Before: spaceId was just added with and & even if it was the first query params.
Now: spaceId is added safely to the searchParams using URL operations.

fixes #588

Copy link

vercel bot commented Nov 21, 2024

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

Name Status Preview Updated (UTC)
react-notion-x ✅ Ready (Inspect) Visit Preview Nov 21, 2024 10:22am
react-notion-x-minimal-demo ✅ Ready (Inspect) Visit Preview Nov 21, 2024 10:22am

@mfts mfts changed the title fix: safely add spaceId to searchParams fix: load images by safely add spaceId to searchParams Nov 21, 2024
@transitive-bullshit transitive-bullshit merged commit 8d1751e into NotionX:master Nov 21, 2024
4 checks passed
@transitive-bullshit
Copy link
Member

Thanks @mfts 🙏

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.

Some tweets & images are not loading
2 participants