Fixed shotz (hardfiles endpoint no longer needs /upload, just the baseurl)

This commit is contained in:
Dionysus 2023-12-27 17:10:58 -05:00
parent 6b2a4d8434
commit 44ad542202
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE
1 changed files with 2 additions and 2 deletions

View File

@ -9,5 +9,5 @@ mkdir -p "$output_dir"
scrot -s "$output_dir/$output_file"
if [ "$1" = "-u" ]; then
curl -F file=@"$output_dir/$output_file" https://hardfiles.org/upload | xclip -selection clipboard
fi
curl -F file=@"$output_dir/$output_file" https://hardfiles.org/ | xclip -selection clipboard
fi