Skip to content

Commit 873b1f4

Browse files
committed
fix upload endpoint url
1 parent 2e102ad commit 873b1f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const (
2121
defaultUserAgent = "go-putio"
2222
defaultMediaType = "application/json"
2323
defaultBaseURL = "https://api.put.io"
24-
defaultUploadURL = "https://upload.put.io"
24+
defaultUploadURL = "https://upload.put.io/v2/files/upload"
2525
defaultTusURL = "https://upload.put.io/files/"
2626
)
2727

0 commit comments

Comments
 (0)