1
0
mirror of https://github.com/Foltik/Shimapan synced 2024-11-14 08:49:51 -05:00

Made uploader work over https

This commit is contained in:
Thomas L 2017-01-24 18:33:34 -05:00 committed by GitHub
parent 0454204c8f
commit 7d4e3a6ea3

View File

@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
URL=$(curl -s -F "apikey=YOURKEYHERE" -F "files[]=@$1" www.shimapan.rocks/upload.php | grep url | awk '{print $2}') URL=$(curl -s -F "apikey=YOURKEYHERE" -F "files[]=@$1" https://www.shimapan.rocks/upload.php | grep url | awk '{print $2}')
echo $URL | tr -d '[\\\,"]' echo $URL | tr -d '[\\\,"]'