From 676f5713edafcb22b86e637bfcbedf2515d3c0ba Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Sun, 9 Jan 2022 00:40:44 +0100 Subject: [PATCH] fix upload endpoint --- CHANGELOG.md | 5 ++--- cli/Cargo.toml | 2 +- cli/src/commands/up.rs | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ceeb9c7..73ad254 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,4 @@ -# v1.1.1 +# v1.1.2 ## cli -- added some command aliases -- added rand command +- fixed upload endpoint diff --git a/cli/Cargo.toml b/cli/Cargo.toml index c13f5a3..9a4c06f 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cli" -version = "1.1.1" +version = "1.1.2" authors = ["LordMZTE "] edition = "2018" license = "GPL-3.0" diff --git a/cli/src/commands/up.rs b/cli/src/commands/up.rs index 8503bf6..1a3ad12 100644 --- a/cli/src/commands/up.rs +++ b/cli/src/commands/up.rs @@ -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)