-
-
Notifications
You must be signed in to change notification settings - Fork 616
Fix for getting signed urls #334
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Won't this break user-uploaded page covers which need to be signed? |
I am using this patch in feather.so and so far it is working well even for user uploaded covers. My guess is user uploaded covers were not needed to be signed in the first place. |
I just tried it locally, the covers are showing up even if they are user-uploaded. |
Your PR still fails with pages like this one (the link is using code from your pr) The problem is that the signed urls endpoint no longer accepts any host and only accepts domains with host This means that if you have any embed on the page addSignedUrls will fail because it passes the embed url to the endpoint (in the page about it passes the loom video url) In simple cases your pr works because it does not pass the cover url to signed urls endpoint |
@remorses can you check your example now? |
Is this a different way to fix the same problem as this fixes? #332 |
@normdoow yes |
Going with #332 over this PR as I think it's the safer option. |
Notion API is throwing an error when a signed URL is requested for page cover. Removing it solves the problem.
Resolves #331