mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-21 05:58:05 +02:00
feat: Add Xtream API service for IPTV features and precache web artifacts in Dockerfile.
This commit is contained in:
1 parent
e4922d7fce
commit
129bcadd37
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -8,8 +8,8 @@ WORKDIR /app
|
|||||||
ENV DART_VM_OPTIONS="--old_gen_heap_size=16384"
|
ENV DART_VM_OPTIONS="--old_gen_heap_size=16384"
|
||||||
ENV FLUTTER_NO_ANALYTICS=1
|
ENV FLUTTER_NO_ANALYTICS=1
|
||||||
|
|
||||||
# Enable web support
|
# Enable web support and pre-download artifacts
|
||||||
RUN flutter config --enable-web
|
RUN flutter config --enable-web && flutter precache --web
|
||||||
|
|
||||||
# Copy dependency files first
|
# Copy dependency files first
|
||||||
COPY pubspec.yaml ./
|
COPY pubspec.yaml ./
|
||||||
|
|||||||
@@ -291,7 +291,7 @@ class XtreamService {
|
|||||||
'password': _currentPlaylist!.password,
|
'password': _currentPlaylist!.password,
|
||||||
'action': 'get_series_categories',
|
'action': 'get_series_categories',
|
||||||
},
|
},
|
||||||
options: Options(extra: options),
|
options: Options(extra: _cacheOptions.toExtra()),
|
||||||
);
|
);
|
||||||
|
|
||||||
final List<dynamic> categories = response.data as List<dynamic>;
|
final List<dynamic> categories = response.data as List<dynamic>;
|
||||||
|
|||||||
Reference in new issue
Block a user