1
0
mirror of https://github.com/TwidereProject/Twidere-Android synced 2025-01-31 17:04:59 +01:00
This commit is contained in:
Tlaster 2020-04-20 15:10:15 +08:00
parent f7106b807c
commit 1ecd3acdba

View File

@ -111,7 +111,7 @@ public class MicroBlogAPIFactory implements TwidereConstants {
} else if (TextUtils.isEmpty(domain)) {
baseUrl = matcher.replaceAll("");
} else {
baseUrl = matcher.replaceAll("$1" + domain + "." + "$2");
baseUrl = matcher.replaceAll("$1" + domain + "$2" + "$3");
}
// In case someone set invalid base url
if (HttpUrl.parse(baseUrl) == null) {