feat(assets): serve provider and IDE icons from dl.devsy.sh#652
Conversation
Repoint provider and IDE icon URLs to the Cloudflare R2 object storage host (dl.devsy.sh/assets) instead of the previously dead devsy.sh/assets and raw.githubusercontent.com paths. - Add config.DownloadBaseURL and point WebsiteAssetsURL at it, fixing all IDE icons that resolved through the old host. - Make the Bob IDE parse its icon via WebsiteAssetsURL like every other IDE, and add its dark variant. - Repoint built-in provider icons (docker, kubernetes, podman, pro) and the Pro fallback provider.
✅ Deploy Preview for devsydev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
✅ Deploy Preview for images-devsy-sh ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Summary
Repoints provider and IDE icon URLs to the Cloudflare R2 object storage host (
dl.devsy.sh/assets). The previous URLs —devsy.sh/assets/*andraw.githubusercontent.com/devsy-org/devsy/main/desktop/src/images/*— both 404, so provider and IDE icons were broken.The SVG assets have already been uploaded to R2 and resolve (
200 image/svg+xml).Changes
config.DownloadBaseURLand pointWebsiteAssetsURLat it, fixing every IDE icon that resolved through the old dead host.WebsiteAssetsURLlike all other IDEs, and add its dark variant.Notes
The external
devsy-provider-*repos hardcode their icon URLs inhack/provider/main.goand are updated separately; each needs a new release to regenerateprovider.yaml.Summary by CodeRabbit