chore: update changelog & landerctl

lsm
Jef Roosens 2023-11-12 15:00:20 +01:00
parent 64af94ce7a
commit 04aef2643f
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
2 changed files with 10 additions and 1 deletions

View File

@ -16,9 +16,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Rewrite of trie codebase
* Introduced a custom data store using an in-memory trie as index and a
custom binary on-disk format
* Support for lookup & insert
* Support for lookup, insert & a basic remove
* Lander
* 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)

View File

@ -47,4 +47,10 @@ elif [ "$1" = f ]; then
-H "X-Lander-Content-Type: $(file --mime-type --brief $2)" \
--data-binary @"$2" \
"$URL/f/$3"
elif [ "$1" = d ]; then
curl \
-XDELETE \
-H "X-Api-Key: $API_KEY" \
"$URL/$2"
fi