-
Notifications
You must be signed in to change notification settings - Fork 14
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
refactor: image ipfs route #211
Conversation
New dependencies detected. Learn more about Socket for GitHub ↗︎
|
Deploying with
|
Latest commit: |
5fe13ac
|
Status: | ✅ Deploy successful! |
Preview URL: | https://cbe6cdc7.workers-ogi.pages.dev |
Branch Preview URL: | https://refactor-image-ipfs-route.workers-ogi.pages.dev |
…de 200 and content type text/html
…2 - image test * test(ipfs.test.ts): change status code from 301 to 302 in ipfs - 302 - html test
image/src/routes/ipfs.ts
Outdated
// TODO: check response from cache | ||
// ---------------------------------------- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc is this still a TODO?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I will investigate in a separate PR. on this one related to this issue: https://github.com/kodadot/workers/pull/162/files#diff-0f42d024452daf51c4b80efbd4f07ce3d5e123da6bc875c6740ff89d9d788903R125
…to cloudflare-images.ts refactor(ipfs.ts): replace inline fetch with getImageByPath function refactor(ipfs.ts): replace body type with IPFSResponseType feat(types.ts): add IPFSResponseType type refactor(ipfs.ts): remove redundant await in fetchIPFS call refactor(ipfs.ts): replace CFIApiResponse with IPFSResponseType
Let's test |
Context