Compare commits
1 commit
main
...
proxy-imag
Author | SHA1 | Date | |
---|---|---|---|
2c24dde5c6 |
1 changed files with 2 additions and 1 deletions
|
@ -166,7 +166,8 @@
|
|||
(λ (v)
|
||||
(and (config-true? 'strict_proxy)
|
||||
(eq? element-type 'a)
|
||||
(has-class? "image-thumbnail" v)))
|
||||
(or (has-class? "image-thumbnail" v)
|
||||
(has-class? "image" v))))
|
||||
(λ (v) (attribute-maybe-update 'href u-proxy-url v)))
|
||||
; proxy images from src attributes
|
||||
(curry attribute-maybe-update 'src u-proxy-url)
|
||||
|
|
Loading…
Reference in a new issue