mirror of
https://github.com/TwidereProject/Twidere-Android
synced 2025-01-31 17:04:59 +01:00
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…
x
Reference in New Issue
Block a user