mirror of
https://github.com/Foltik/Shimapan
synced 2024-11-10 23:53:31 -05:00
Edited bash file to work over https
This commit is contained in:
parent
58e1a9c8c9
commit
8d5ea5b0e9
@ -35,5 +35,5 @@ Option Description
|
||||
gnome-screenshot -a -f $FILE $2;
|
||||
;;
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user