mirror of
https://github.com/immich-app/immich
synced 2025-06-08 16:27:58 +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
|
@override
|
||||||
Future<bool> initialize() async {
|
Future<bool> initialize() async {
|
||||||
// check if server URL is https
|
// there is nothing blocking us from using Google Cast that we can check for
|
||||||
final serverUrl = punycodeDecodeUrl(Store.tryGet(StoreKey.serverEndpoint));
|
return true;
|
||||||
|
|
||||||
return serverUrl?.startsWith("https://") ?? false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user