about summary refs log tree commit diff
path: root/kittybox-rs/dev.sh
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2022-07-10 00:55:20 +0300
committerVika <vika@fireburn.ru>2022-07-10 00:55:20 +0300
commit1031d495d5b78d9b19dcdc414b6d7b0daf313bb2 (patch)
treea6ea6d347bc690c467df798f5576800d371b2254 /kittybox-rs/dev.sh
parent2cbd19693115bf19da0ab888372cb1ff086967cd (diff)
downloadkittybox-1031d495d5b78d9b19dcdc414b6d7b0daf313bb2.tar.zst
media: media endpoint PoC
Supported features:
 - Streaming upload
 - Content-addressed storage
 - Metadata
   - MIME type (taken from Content-Type)
   - Length (I could use stat() for this one tho)
   - filename (for Content-Disposition: attachment, WIP)
Diffstat (limited to 'kittybox-rs/dev.sh')
-rwxr-xr-xkittybox-rs/dev.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/kittybox-rs/dev.sh b/kittybox-rs/dev.sh
index b720e5e..2b19161 100755
--- a/kittybox-rs/dev.sh
+++ b/kittybox-rs/dev.sh
@@ -1,6 +1,7 @@
 #!/bin/sh
 export RUST_LOG="kittybox=debug,retainer::cache=warn,h2=info,rustls=info,tokio=info,tower_http::trace=debug"
 export BACKEND_URI=file://./test-dir
+export BLOBSTORE_URI=file://./media-store
 export TOKEN_ENDPOINT=https://tokens.indieauth.com/token
 export AUTHORIZATION_ENDPOINT=https://indieauth.com/auth
 export COOKIE_SECRET=1234567890abcdefghijklmnopqrstuvwxyz