This commit is contained in:
Tlaster 2020-04-20 15:10:15 +08:00
parent f7106b807c
commit 1ecd3acdba
1 changed files with 1 additions and 1 deletions

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) {