mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-23 04:00:28 +08:00
opt: http2https
This commit is contained in:
@@ -41,3 +41,7 @@ extension ListExt<T> on List<T>? {
|
||||
|
||||
bool ne(List<T>? other) => !eq(other);
|
||||
}
|
||||
|
||||
extension StringExt on String {
|
||||
String get http2https => replaceFirst(RegExp("^http://"), "https://");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user