mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add the original URL as a fallback when creating URL proxys
This commit is contained in:
parent
cd5429d5fa
commit
af55adbef8
1 changed files with 1 additions and 0 deletions
|
|
@ -545,6 +545,7 @@ Readability.prototype = {
|
|||
|
||||
const proxySrc = this.createImageProxyUrl(absoluteSrc, width, height);
|
||||
image.setAttribute('src', proxySrc);
|
||||
image.setAttribute('data-omnivore-original-src', absoluteSrc)
|
||||
}
|
||||
|
||||
// remove crossorigin attribute to avoid CORS errors
|
||||
|
|
|
|||
Loading…
Reference in a new issue