mirror of
https://github.com/immich-app/immich
synced 2025-06-07 23:40:59 +00:00
remove https check since it works with local http IP addresses
This commit is contained in:
parent
892e6d93a1
commit
d8e8f7c04b
@ -136,10 +136,8 @@ class GCastService implements ICastDestinationService {
|
||||
|
||||
@override
|
||||
Future<bool> initialize() async {
|
||||
// check if server URL is https
|
||||
final serverUrl = punycodeDecodeUrl(Store.tryGet(StoreKey.serverEndpoint));
|
||||
|
||||
return serverUrl?.startsWith("https://") ?? false;
|
||||
// there is nothing blocking us from using Google Cast that we can check for
|
||||
return true;
|
||||
}
|
||||
|
||||
@override
|
||||
|
Loading…
x
Reference in New Issue
Block a user