From 26a95c96571196f34c3207233f0e7753970e62f3 Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Wed, 14 Apr 2021 20:17:47 +0200 Subject: [PATCH] update to new API endpoint --- src/util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.rs b/src/util.rs index 299143a..b3a653e 100644 --- a/src/util.rs +++ b/src/util.rs @@ -17,7 +17,7 @@ macro_rules! init_once_cell { } pub mod consts { - pub const API_ENDPOINT: &str = "https://data.tilera.xyz/api/jensmemes"; + pub const API_ENDPOINT: &str = "https://api.tilera.xyz/jensmemes/v1"; pub const NO_SUCH_CATEGORY_ERROR: &str = "The given Category does not exist!"; pub const NO_SUCH_USER_ERROR: &str = "The given User does not exist!"; }