diff --git a/API/SALT.sh b/API/SALT.sh index 0e124e66..6f992021 100755 --- a/API/SALT.sh +++ b/API/SALT.sh @@ -446,6 +446,7 @@ echo "" > ~/.zen/tmp/.ipfsgw.bad.twt # TODO move in 20h12.sh else + REP="ERROR UNKNOW ${PLAYER}" fi diff --git a/www/PasseportTerre/index.html b/www/PasseportTerre/index.html index 92d35b89..ebd8d636 100644 --- a/www/PasseportTerre/index.html +++ b/www/PasseportTerre/index.html @@ -134,7 +134,7 @@ const gifContainer = document.querySelector('.gif-container'); const prevBtn = document.querySelector('#prev'); const nextBtn = document.querySelector('#next'); - const pageSize = 12; + const pageSize = 4; let pageNumber = 0; let gifs = []; @@ -143,7 +143,7 @@ let durees = []; // Récupérer les données - fetch('_LIBRA__VOEUNS_/__PLAYER_.tiddlers.json') + fetch('http://127.0.0.1:8080_VOEUNS_/__PLAYER_.tiddlers.json') .then(res => res.json()) .then(data => { // Extraire les gifanime @@ -168,8 +168,8 @@ // Générer le HTML pageGifs.forEach((gif, i) => { output += ` - - + + `; }); @@ -233,7 +233,7 @@ TODO:
- Choose example: