document conditional redirects
This commit is contained in:
parent
b5fdfcb49c
commit
58bb2432fb
14
readme.md
14
readme.md
@ -7,11 +7,21 @@ sus URL shortener
|
|||||||
|
|
||||||
- creating a new shortlink at https://pls.cx/shortlink
|
- creating a new shortlink at https://pls.cx/shortlink
|
||||||
|
|
||||||
susmng [-s pls.cx] create -l shortlink -v https://example.com
|
susmng [-s pls.cx] create -l shortlink -r https://example.com
|
||||||
|
|
||||||
|
- creating a new shortlink at https://pls.cx/shortlink which redirects to https://example.com/a the first n times, https://example.com/b any other times
|
||||||
|
|
||||||
|
susmng [-s pls.cx] create -l shortlink -r https://example.com/a \
|
||||||
|
-c hits,gt,<n> -a https://example.com/b
|
||||||
|
|
||||||
|
- creating a new shortlink at https://pls.cx/shortlink which redirects to https://example.com/before before unix timestamp n (seconds), https://example.com/after after that
|
||||||
|
|
||||||
|
susmng [-s pls.cx] create -l shortlink -r https://example.com/before \
|
||||||
|
-c timestamp,gt,<n> -a https://example.com/after
|
||||||
|
|
||||||
- deleting the shortlink https://pls.cx/shortlink
|
- deleting the shortlink https://pls.cx/shortlink
|
||||||
|
|
||||||
susmng [-s pls.cx] delete -l shortlink -v confirm
|
susmng [-s pls.cx] delete -l shortlink
|
||||||
|
|
||||||
- listing all shortlinks on the server pls.cx
|
- listing all shortlinks on the server pls.cx
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user