much simpler content type storage
This commit is contained in:
parent
c1742b384e
commit
51f1ae59da
2 changed files with 5 additions and 9 deletions
3
mimeul
Normal file
3
mimeul
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
MIME=$(file -i "$1" | cut -f1 -d" " --complement)
|
||||
curl -H "Authorization: $AUTH_KEY" $DEPLOY_HOST/$2 -F "u=@$1;type=$MIME"
|
||||
Loading…
Add table
Add a link
Reference in a new issue