1
0
mirror of https://github.com/Foltik/Shimapan synced 2024-09-21 11:11:22 -04:00

Edited bash file to work over https

This commit is contained in:
Thomas L 2017-01-24 18:32:11 -05:00 committed by GitHub
parent 58e1a9c8c9
commit 8d5ea5b0e9

View File

@ -35,5 +35,5 @@ Option Description
gnome-screenshot -a -f $FILE $2; gnome-screenshot -a -f $FILE $2;
;; ;;
esac esac
URL=$(curl -s -F "apikey=$APIKEY" -F "files[]=@$FILE" www.shimapan.rocks/upload.php | grep url | awk '{print $2}') URL=$(curl -s -F "apikey=$APIKEY" -F "files[]=@$FILE" https://www.shimapan.rocks/upload.php | grep url | awk '{print $2}')
echo $URL | tr -d '[\\\,"\n]' | xclip -selection c echo $URL | tr -d '[\\\,"\n]' | xclip -selection c