From 2743868438bb21d03553230baf372776efa20bc2 Mon Sep 17 00:00:00 2001 From: Alex Ling Date: Sat, 6 Mar 2021 16:52:24 +0000 Subject: [PATCH] Remove outdated MD API link in warning --- src/config.cr | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/config.cr b/src/config.cr index abacbb3..5e4d055 100644 --- a/src/config.cr +++ b/src/config.cr @@ -97,9 +97,8 @@ class Config # `Logger.default` is not available yet Log.setup :debug Log.warn { "It looks like you are using the deprecated MangaDex API " \ - "v1 in your config file. Please update it to either " \ - "https://mangadex.org/api/v2 or " \ - "https://api.mangadex.org/v2 to suppress this warning." } + "v1 in your config file. Please update it to " \ + "https://mangadex.org/api/v2 to suppress this warning." } mangadex["api_url"] = "https://mangadex.org/api/v2" end mangadex["api_url"] = mangadex["api_url"].to_s.rstrip "/"