update to new API endpoint

This commit is contained in:
LordMZTE 2021-04-14 20:17:47 +02:00
parent 02ba01a5e7
commit 26a95c9657

View file

@ -17,7 +17,7 @@ macro_rules! init_once_cell {
} }
pub mod consts { 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_CATEGORY_ERROR: &str = "The given Category does not exist!";
pub const NO_SUCH_USER_ERROR: &str = "The given User does not exist!"; pub const NO_SUCH_USER_ERROR: &str = "The given User does not exist!";
} }