Remove outdated MD API link in warning

This commit is contained in:
Alex Ling 2021-03-06 16:52:24 +00:00
parent f62344806a
commit 2743868438

View File

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