fix upload endpoint

This commit is contained in:
LordMZTE 2022-01-09 00:40:44 +01:00
parent 11a22df7ea
commit 676f5713ed
3 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,4 @@
# v1.1.1
# v1.1.2
## cli
- added some command aliases
- added rand command
- fixed upload endpoint

View File

@ -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"

View File

@ -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)