potatothumb: remove "_broken" URL suffix used for testing - jscancer - Javascript crap (relatively small)
HTML git clone git://git.codemadness.org/jscancer
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 19e7513dd8e720e3aff80e70cbcaf38608a3efd7
DIR parent 57de4ff819f5ba51cd3973929c0f638817a874bf
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 28 Apr 2023 12:19:36 +0200
potatothumb: remove "_broken" URL suffix used for testing
Diffstat:
M potatothumb/potato.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/potatothumb/potato.sh b/potatothumb/potato.sh
@@ -21,7 +21,7 @@ image2html() {
"webp:-" | base64 | tr -d '\n')
echo "<div style=\"display:inline-block;background:${bgcolor} url('data:image/webp;base64,${data}') no-repeat;background-size:cover\">"
- echo "<img src=\"$1_broken\" width=\"$w\" height=\"$h\" alt=\"\" loading=\"lazy\" decoding=\"async\" />"
+ echo "<img src=\"$1\" width=\"$w\" height=\"$h\" alt=\"\" loading=\"lazy\" decoding=\"async\" />"
echo "</div>"
}