chore: update changelog & landerctl
parent
64af94ce7a
commit
04aef2643f
|
@ -16,9 +16,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
* Rewrite of trie codebase
|
* Rewrite of trie codebase
|
||||||
* Introduced a custom data store using an in-memory trie as index and a
|
* Introduced a custom data store using an in-memory trie as index and a
|
||||||
custom binary on-disk format
|
custom binary on-disk format
|
||||||
* Support for lookup & insert
|
* Support for lookup, insert & a basic remove
|
||||||
* Lander
|
* Lander
|
||||||
* Replaced old trie implementation with LSM store
|
* Replaced old trie implementation with LSM store
|
||||||
|
* Add support for hosting arbitrary files
|
||||||
|
* Content type of file is set if provided when uploading file
|
||||||
|
* Support removing entries
|
||||||
|
|
||||||
## [0.1.0](https://git.rustybever.be/Chewing_Bever/lander/src/tag/0.1.0)
|
## [0.1.0](https://git.rustybever.be/Chewing_Bever/lander/src/tag/0.1.0)
|
||||||
|
|
||||||
|
|
|
@ -47,4 +47,10 @@ elif [ "$1" = f ]; then
|
||||||
-H "X-Lander-Content-Type: $(file --mime-type --brief $2)" \
|
-H "X-Lander-Content-Type: $(file --mime-type --brief $2)" \
|
||||||
--data-binary @"$2" \
|
--data-binary @"$2" \
|
||||||
"$URL/f/$3"
|
"$URL/f/$3"
|
||||||
|
|
||||||
|
elif [ "$1" = d ]; then
|
||||||
|
curl \
|
||||||
|
-XDELETE \
|
||||||
|
-H "X-Api-Key: $API_KEY" \
|
||||||
|
"$URL/$2"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue