mirror of
https://github.com/Waradu/streamshare.git
synced 2025-04-21 11:54:09 +02:00
added progress indicator
This commit is contained in:
parent
9dcb098754
commit
11264e4be5
4 changed files with 54 additions and 11 deletions
|
@ -6,7 +6,8 @@ Upload files to [streamshare](https://streamshare.wireway.ch)
|
|||
|
||||
Upload:
|
||||
```rust
|
||||
match upload(&file_path).await {
|
||||
let show_progress = true;
|
||||
match upload(&file_path, show_progress).await {
|
||||
Ok((file_identifier, _deletion_token)) => {
|
||||
let download_url = format!(
|
||||
"https://streamshare.wireway.ch/download/{}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue