Fix #1254
This commit is contained in:
parent
f7106b807c
commit
1ecd3acdba
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue