feat(lander): server content-type header for file entries
This commit is contained in:
parent
70f622d9f3
commit
c026e13c44
4 changed files with 41 additions and 6 deletions
|
|
@ -44,6 +44,7 @@ elif [ "$1" = f ]; then
|
|||
-w "${URL}%header{location}" \
|
||||
-XPOST \
|
||||
-H "X-Api-Key: $API_KEY" \
|
||||
-H "X-Lander-Content-Type: $(file --mime-type --brief $2)" \
|
||||
--data-binary @"$2" \
|
||||
"$URL/f/$3"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue