react-notion-x
react-notion-x copied to clipboard
PDF file URLs won't be signed
trafficstars
Description
At this time, NotionAPI.addSignedUrls only signs URLs which contains secure.notion-static.com string (#332).
Notion is currently serving PDF (may be also other type files, I don't test) files from "https://prod-files-secure.s3.us-west-2.amazonaws.com/<uuid1>/<uuid2>/<name>.pdf" style urls, which won't be signed by NotionAPI.addSignedUrls.
Notion Test Page ID
1387d259b2558024b095eb5c50425400