Compare commits
8 Commits
c32a459147
...
ae81626846
Author | SHA1 | Date | |
---|---|---|---|
ae81626846 | |||
71fb7b620a | |||
15c4997511 | |||
5252854f5d | |||
9a440bf147 | |||
44902c63b1 | |||
86314aa45a | |||
b250091a45 |
@ -64,7 +64,7 @@ pst() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
curl -F "file=@$file" -H "X-Auth: $(cat ~/.key)" http://localhost:3235
|
curl -F "file=@$file" -H "X-Auth: $(cat ~/.key)" https://paste.jabuxas.xyz
|
||||||
|
|
||||||
if [[ -p /dev/stdin ]]; then
|
if [[ -p /dev/stdin ]]; then
|
||||||
rm "$file"
|
rm "$file"
|
||||||
@ -88,7 +88,7 @@ function pst
|
|||||||
set file "$argv[1]"
|
set file "$argv[1]"
|
||||||
end
|
end
|
||||||
|
|
||||||
curl -F "file=@$file" -H "X-Auth: $(cat ~/.key)" http://localhost:3235
|
curl -F "file=@$file" -H "X-Auth: $(cat ~/.key)" https://paste.jabuxas.xyz
|
||||||
|
|
||||||
if command test -p /dev/stdin
|
if command test -p /dev/stdin
|
||||||
rm "$file"
|
rm "$file"
|
||||||
@ -129,5 +129,4 @@ end
|
|||||||
- [x] add file extension in its name
|
- [x] add file extension in its name
|
||||||
- [x] login prompt when accessing /tree
|
- [x] login prompt when accessing /tree
|
||||||
- [x] home page
|
- [x] home page
|
||||||
- [x] custom file displaying!!
|
|
||||||
- [ ] add rate limits
|
- [ ] add rate limits
|
||||||
|
Loading…
Reference in New Issue
Block a user