mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-11 17:30:00 +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 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 ./
|
||||
|
||||
@@ -291,7 +291,7 @@ class XtreamService {
|
||||
'password': _currentPlaylist!.password,
|
||||
'action': 'get_series_categories',
|
||||
},
|
||||
options: Options(extra: options),
|
||||
options: Options(extra: _cacheOptions.toExtra()),
|
||||
);
|
||||
|
||||
final List<dynamic> categories = response.data as List<dynamic>;
|
||||
|
||||
Reference in new issue
Block a user