mirror of
https://github.com/KittyKatt/screenFetch.git
synced 2026-01-10 07:18:16 -05:00
Fixed Teknik uploading.
This commit is contained in:
@@ -1839,10 +1839,9 @@ takeShot () {
|
||||
baseurl='http://u.teknik.io'
|
||||
uploadurl='http://api.teknik.io/upload/post'
|
||||
ret=$(curl -sf -F file="@${shotfiles[@]}" ${uploadurl})
|
||||
echo "$ret"
|
||||
filehash="${ret##*name\":\"}"
|
||||
filehash="${fileret%%\"*}"
|
||||
desturl="${baseurl}/${filehash}"
|
||||
desturl="${out##*url\":\"}"
|
||||
desturl="${desturl%%\"*}"
|
||||
desturl="${desturl//\\}"
|
||||
;;
|
||||
'mediacrush')
|
||||
baseurl='https://mediacru.sh'
|
||||
|
||||
Reference in New Issue
Block a user