This commit is contained in:
fred 2023-02-11 21:48:26 +01:00
parent f3e463827d
commit 274780d002
2 changed files with 4 additions and 4 deletions

View File

@ -157,7 +157,7 @@ Redirections
```/?salt=${SALT}&pepper=${PEPPER}&g1pub=astro```
## ➤ PLAYER ZONE (fonctionne uniquement sur la Station qui héberge votre PLAYER)
## ➤ PLAYER ZONE (API de la Station qui héberge votre PLAYER)
### ```/?player=${PLAYER}&${APPNAME}=${WHAT}&${OBJ}=${VAL}...```
### Déclencher un Payement de 99 Ğ1 à Fred
@ -196,7 +196,7 @@ GET /?player=${PLAYER}&youtube=URLENCODED
### PUBLIC (fonctionne par tout, pour tous)
### QRCODE (API SandBox)
```http
GET /?qrcode=$G1PUB
```

View File

@ -71,8 +71,8 @@ echo " </ul>
num=1
for i in "$img_dir"/*; do
if [[ $i =~ \.(JPG|jpg|PNG|png|JPEG|jpeg|GIF|gif)$ ]]; then
ilink=$(ipfs add -q $i)
img_info=$(identify -format '%w %h %[EXIF:*]' $i)
ilink=$(ipfs add -q "$i")
img_info=$(identify -format '%w %h %[EXIF:*]' "$i")
img_width=$(echo $img_info | cut -d ' ' -f1)
img_height=$(echo $img_info | cut -d ' ' -f2)
img_alt=$(echo $img_info | cut -d ' ' -f3)