diff --git a/Dockerfile b/Dockerfile index d92d367..118e350 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,8 +8,8 @@ WORKDIR /app ENV DART_VM_OPTIONS="--old_gen_heap_size=16384" ENV FLUTTER_NO_ANALYTICS=1 -# Enable web support -RUN flutter config --enable-web +# Enable web support and pre-download artifacts +RUN flutter config --enable-web && flutter precache --web # Copy dependency files first COPY pubspec.yaml ./ diff --git a/lib/features/iptv/services/xtream_service.dart b/lib/features/iptv/services/xtream_service.dart index d651eef..99e988a 100644 --- a/lib/features/iptv/services/xtream_service.dart +++ b/lib/features/iptv/services/xtream_service.dart @@ -291,7 +291,7 @@ class XtreamService { 'password': _currentPlaylist!.password, 'action': 'get_series_categories', }, - options: Options(extra: options), + options: Options(extra: _cacheOptions.toExtra()), ); final List categories = response.data as List;