Skip to content

Blogger 1.1.5: load every picture from the app's own host - #10

Merged
necessarylion merged 1 commit into
mainfrom
extension-upload-url
Nov 7, 2026
Merged

necessarylion merged 1 commit into
mainfrom
extension-upload-url

Conversation

@mydoxie

@mydoxie mydoxie commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Problem

og:image, the structured data, the logo and the feed's pictures were https://<shop domain>/uploads/…. A CDN in front of the app's host does not cache those.

Fix

  • pictureUrl() uses ctx.uploads.url (sellrika/sellrika, same branch name): the app's own host.
  • An older app has no uploads.url: then the store's address, as before.
  • In the feed, pictures go to the app's host, links still go to the store.

Checks

  • Unit tests, type check green. y-blogger e2e: 6 pass.

og:image, the structured data, the logo and the feed's pictures used the shop's store address. Now they use ctx.uploads.url: the app's own host. An older app falls back to the store address.
@necessarylion
necessarylion merged commit 54ede16 into main Nov 7, 2026
1 check passed
@necessarylion
necessarylion deleted the extension-upload-url branch November 7, 2026 02:16
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.

2 participants