Compare commits
10 Commits
ae81626846
...
c32a459147
Author | SHA1 | Date | |
---|---|---|---|
c32a459147 | |||
6c87fe724c | |||
8b0300c738 | |||
8ec85fdc1b | |||
4384cfaa35 | |||
6d9dd1aa65 | |||
ff566a2ff5 | |||
c64c63d333 | |||
ebe2c461f5 | |||
52fa208aab |
@ -64,7 +64,7 @@ pst() {
|
||||
return 1
|
||||
fi
|
||||
|
||||
curl -F "file=@$file" -H "X-Auth: $(cat ~/.key)" https://paste.jabuxas.xyz
|
||||
curl -F "file=@$file" -H "X-Auth: $(cat ~/.key)" http://localhost:3235
|
||||
|
||||
if [[ -p /dev/stdin ]]; then
|
||||
rm "$file"
|
||||
@ -88,7 +88,7 @@ function pst
|
||||
set file "$argv[1]"
|
||||
end
|
||||
|
||||
curl -F "file=@$file" -H "X-Auth: $(cat ~/.key)" https://paste.jabuxas.xyz
|
||||
curl -F "file=@$file" -H "X-Auth: $(cat ~/.key)" http://localhost:3235
|
||||
|
||||
if command test -p /dev/stdin
|
||||
rm "$file"
|
||||
@ -129,4 +129,5 @@ end
|
||||
- [x] add file extension in its name
|
||||
- [x] login prompt when accessing /tree
|
||||
- [x] home page
|
||||
- [x] custom file displaying!!
|
||||
- [ ] add rate limits
|
||||
|
Loading…
Reference in New Issue
Block a user