mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-02 10:55:30 -04:00
Merge branch 'rc/0.21.0' into dev
This commit is contained in:
commit
6a275286ea
@ -96,9 +96,8 @@ class Config
|
|||||||
# `Logger.default` is not available yet
|
# `Logger.default` is not available yet
|
||||||
Log.setup :debug
|
Log.setup :debug
|
||||||
Log.warn { "It looks like you are using the deprecated MangaDex API " \
|
Log.warn { "It looks like you are using the deprecated MangaDex API " \
|
||||||
"v1 in your config file. Please update it to either " \
|
"v1 in your config file. Please update it to " \
|
||||||
"https://mangadex.org/api/v2 or " \
|
"https://mangadex.org/api/v2 to suppress this warning." }
|
||||||
"https://api.mangadex.org/v2 to suppress this warning." }
|
|
||||||
mangadex["api_url"] = "https://mangadex.org/api/v2"
|
mangadex["api_url"] = "https://mangadex.org/api/v2"
|
||||||
end
|
end
|
||||||
mangadex["api_url"] = mangadex["api_url"].to_s.rstrip "/"
|
mangadex["api_url"] = mangadex["api_url"].to_s.rstrip "/"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user