pstsrv: add pst.moe, retire w1r3.net
This commit is contained in:
parent
506952db72
commit
699363c409
@ -52,9 +52,10 @@ pst_ix_io()
|
||||
$torsocks curl -F "f:1=@$1" http://ix.io/
|
||||
}
|
||||
|
||||
pst_w1r3_net()
|
||||
pst_pst_moe()
|
||||
{
|
||||
$torsocks curl -F "upload=@$1" https://w1r3.net/
|
||||
$torsocks curl -F "content=<$1" -F "expire_after=86400" \
|
||||
https://pst.moe/paste
|
||||
}
|
||||
|
||||
do_upload()
|
||||
@ -100,8 +101,8 @@ catbox.moe)
|
||||
ix.io)
|
||||
url=$(do_upload pst_ix_io "$@")
|
||||
;;
|
||||
w1r3.net)
|
||||
url=$(do_upload pst_w1r3_net "$@")
|
||||
pst.moe)
|
||||
url=$(do_upload pst_pst_moe "$@")
|
||||
;;
|
||||
*)
|
||||
err "unknown service $srv"
|
||||
|
Loading…
Reference in New Issue
Block a user