Skip to content

Commit 8d14877

Browse files
committed
docs: add usage instruction with tusd v2
1 parent 4e3406d commit 8d14877

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,12 @@ Then,
124124
```sh
125125
# run tusd server (http://0.0.0.0:1080)
126126
tusd -dir ~/.tusd-data > /dev/null 2>&1 &
127-
128127
# start uploading large files
129128
DEBUG=1 tusc --host 0:1080 --file /full/path/to/large/file
129+
130+
# for tusd v2 (http://0.0.0.0:8080)
131+
tusd -upload-dir ~/.tusd-data > /dev/null 2>&1 &
132+
DEBUG=1 tusc --host 0:8080 --file /full/path/to/large/file
130133
```
131134

132135
While upload is in progress, you can force abort it using `Ctrl+C`.

0 commit comments

Comments
 (0)