Ottimizzazione UI player, rotazione head tilt invertita, prefisso playlist in Home e implementazione Identity QR modal e interceptor API
This commit is contained in:
+2
-2
@@ -12,7 +12,7 @@ fi
|
||||
FTP_HOST="ftp.canticristiani.it"
|
||||
FTP_USER="canticristiani.it"
|
||||
FTP_PASS="$FTP_PASSWORD"
|
||||
SOURCE_URL="http://185.193.67.105:3000/cantiletture.json"
|
||||
SOURCE_URL="https://api.canticristiani.it/cantiletture.json"
|
||||
REMOTE_PATH="api/cantiletture.json"
|
||||
|
||||
if [ -z "$FTP_PASS" ]; then
|
||||
@@ -23,7 +23,7 @@ fi
|
||||
# --- Download del file ---
|
||||
echo "⬇️ Scaricamento dati da $SOURCE_URL..."
|
||||
TEMP_FILE=$(mktemp)
|
||||
if ! curl -s -L "$SOURCE_URL" -o "$TEMP_FILE"; then
|
||||
if ! curl -s -u "$API_AUTH_USER:$API_AUTH_PASS" -L "$SOURCE_URL" -o "$TEMP_FILE"; then
|
||||
echo "❌ Errore nel download dei dati."
|
||||
rm "$TEMP_FILE"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user