update a script

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-11-05 17:49:47 +05:30
parent 3b95e2700d
commit 9289d0f172
2 changed files with 5 additions and 6 deletions

View File

@@ -1,6 +1,5 @@
#!/usr/bin/env nix-shell
#! nix-shell -i bash -p curl
#!/usr/bin/env sh
for x in "$@"; do
curl -F "file=@\"$x\"" --header "key: $FILEHOST_KEY" https://f.weirdnatto.in
curl -F "file=@\"$x\"" -F "key=$FILEHOST_KEY" https://f.weirdnatto.in
echo " "
done