From 07aafd746d4c54631f68509712e74dc67e09046b Mon Sep 17 00:00:00 2001 From: Q Date: Sat, 19 Aug 2023 22:16:05 +0300 Subject: [PATCH] details --- code/templates/mfl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/templates/mfl b/code/templates/mfl index 0477fe6..bc57ee7 100755 --- a/code/templates/mfl +++ b/code/templates/mfl @@ -110,16 +110,16 @@ _write_folder() { # name, file -H "Max-Downloads: $MAXDL" \ -H "Expires-Days: $MAXDAYS" \ -H "Secret: $MFL_TOKEN" \ - "$MFL_ROOTURL"/upload + "$MFL_ROOTURL"/upload | cat } _write_file() { # name, file curl -fL -w "\n" -F file="@$2" -X POST \ - --progress-bar --verbose \ + --progress-bar \ -H "Name: $1" \ -H "Max-Downloads: $MAXDL" \ -H "Expires-Days: $MAXDAYS" \ -H "Secret: $MFL_TOKEN" \ - "$MFL_ROOTURL"/upload + "$MFL_ROOTURL"/upload | cat } _write_stdin() { # name cat - | \ @@ -129,7 +129,7 @@ _write_stdin() { # name -H "Max-Downloads: $MAXDL" \ -H "Expires-Days: $MAXDAYS" \ -H "Secret: $MFL_TOKEN" \ - "$MFL_ROOTURL"/upload + "$MFL_ROOTURL"/upload | cat } _delete() { # name