diff options
Diffstat (limited to 'common/scripts/artiproxy-upload.sh')
-rwxr-xr-x | common/scripts/artiproxy-upload.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/scripts/artiproxy-upload.sh b/common/scripts/artiproxy-upload.sh index 2d4302b..a4a5685 100755 --- a/common/scripts/artiproxy-upload.sh +++ b/common/scripts/artiproxy-upload.sh @@ -1,5 +1,8 @@ #!/bin/sh +curl --silent -F "file=@./$1" https://x0.at/ || true + + if [ -z "$PYARTIPROXY_IP" ];then echo "DEBUG: No PYARTIPROXY_IP variable, using fallbacks" |