outputs
This commit is contained in:
2
bp.sh
2
bp.sh
@@ -5,5 +5,5 @@ GPG_ARGS="$([ ! -z "$BROWNPAPER_KEY" ] && echo "--local-user $BROWNPAPER_KEY")"
|
||||
if [ ! -z "$1" ]; then
|
||||
printf "$1" | gpg --sign -a $GPG_ARGS | curl -s --data @- -X POST $BP_ENDPOINT/new -Ls $CURL_ARGS
|
||||
else
|
||||
gpg --sign -a $GPG_ARGS | curl -s --data @- -X POST $BROWNPAPER_ENDPOINT/new -Ls $CURL_ARGS
|
||||
gpg --sign -a $GPG_ARGS | curl -s --data @- -X POST $BP_ENDPOINT/new -Ls $CURL_ARGS
|
||||
fi
|
||||
|
Reference in New Issue
Block a user