Browse Source

Updated upload script to use new Teknik API

master
Teknikode 6 years ago
parent
commit
7e927c9b32
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Upload/upload.sh

+ 1
- 1
Upload/upload.sh View File

@@ -12,7 +12,7 @@ else
n=1
for i in "$@"; do
printf "\nUploading file #${n} ... "
out=$(curl -sf -F file="@${i}" http://upload.teknik.io/includes/upload.php)
out=$(curl -sf -F file="@${i}" http://api.teknik.io/upload/post)
if [[ -n "${out}" ]]; then
printf "uploaded! Your file can be found at http://u.teknik.io/${out}\n"
else

Loading…
Cancel
Save