Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
holzi1005 committed Nov 21, 2024
1 parent bb586d9 commit 626f2bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public/sf.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# export SIMPLE_FILEMANAGER_AUTH_TOKEN=0314e4dd5031799beb52a24e6521e38204c75be01f64794c96a9af11ec47e61a
# export SIMPLE_FILEMANGER_DOMAIN=http://localhost:8080
# export SIMPLE_FILEMANAGER_DOMAIN=http://localhost:8080
cat << "EOF"
___ _ _
/ __\(_)| | ___ _ __ ___ __ _ _ __ __ _ __ _ ___ _ __
Expand All @@ -13,7 +13,7 @@ by H2 invent
EOF

echo "The file will be uploaded to: $SIMPLE_FILEMANGER_DOMAIN"
echo "The file will be uploaded to: $SIMPLE_FILEMANAGER_DOMAIN"
echo ""

read -p "Enter the TITLE: " SIMPLE_FILEMANAGER_TITLE
Expand All @@ -22,7 +22,7 @@ read -p "Expire after X hours: " SIMPLE_FILEMANAGER_EXPIRE
read -p "Enter EMAIL of user for permission: " SIMPLE_FILEMANAGER_EMAIL
read -p "Enter the FILE PATH: " SIMPLE_FILEMANAGER_FILE

curl -X POST $SIMPLE_FILEMANGER_DOMAIN/filemanager/upload \
curl -X POST $SIMPLE_FILEMANAGER_DOMAIN/filemanager/upload \
-H "Authorization: Bearer $SIMPLE_FILEMANAGER_AUTH_TOKEN" \
-F "title=$SIMPLE_FILEMANAGER_TITLE" \
-F "description=$SIMPLE_FILEMANAGER_DESCRIPTION" \
Expand Down

0 comments on commit 626f2bc

Please sign in to comment.