mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
@@ -44,7 +44,7 @@ class PiliScheme {
|
||||
} else if (RegExp(r'^\S+://').hasMatch(url).not) {
|
||||
url = 'https://$url';
|
||||
}
|
||||
return await routePush(
|
||||
return routePush(
|
||||
Uri.parse(url),
|
||||
selfHandle: selfHandle,
|
||||
off: off,
|
||||
@@ -454,7 +454,7 @@ class PiliScheme {
|
||||
return false;
|
||||
}
|
||||
case 'http' || 'https':
|
||||
return await _fullPathPush(
|
||||
return _fullPathPush(
|
||||
uri,
|
||||
selfHandle: selfHandle,
|
||||
off: off,
|
||||
|
||||
Reference in New Issue
Block a user