fix upload endpoint
This commit is contained in:
parent
11a22df7ea
commit
676f5713ed
3 changed files with 4 additions and 5 deletions
|
@ -1,5 +1,4 @@
|
|||
# v1.1.1
|
||||
# v1.1.2
|
||||
## cli
|
||||
- added some command aliases
|
||||
- added rand command
|
||||
- fixed upload endpoint
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "cli"
|
||||
version = "1.1.1"
|
||||
version = "1.1.2"
|
||||
authors = ["LordMZTE <lord@mzte.de>"]
|
||||
edition = "2018"
|
||||
license = "GPL-3.0"
|
||||
|
|
|
@ -37,7 +37,7 @@ pub async fn run(
|
|||
|
||||
let res = client
|
||||
.http
|
||||
.post("https://data.tilera.xyz/api/jensmemes/upload")
|
||||
.post("https://api.tilera.xyz/jensmemes/v1/upload")
|
||||
.multipart(
|
||||
Form::new()
|
||||
.text("category", category)
|
||||
|
|
Loading…
Reference in a new issue