mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-15 13:46:16 -08:00
Merge remote-tracking branch 'origin/master' into agent/download-season-queue
# Conflicts: # apps/electron-backend/src/app/events/database/download-requests.ts # libs/portal/xtream/feature/src/lib/serial-details/serial-details.component.spec.ts # libs/portal/xtream/feature/src/lib/serial-details/serial-details.component.ts # libs/ui/components/src/lib/season-container/episode-download.util.ts # libs/ui/components/src/lib/season-container/episode-utils.spec.ts # libs/ui/components/src/lib/season-container/season-container.component.spec.ts # libs/ui/components/src/lib/season-container/season-container.component.ts
This commit is contained in:
commit
31ac306bb0
243 files changed
+12935
-1106
No files matched your search
@@ -290,7 +290,7 @@ describe('Slow series download stream', () => {
|
||||
describe('Xtream mock environment parsing', () => {
|
||||
it('uses safe defaults and enables control only for the exact flag', () => {
|
||||
expect(parseXtreamMockServerEnvironment({})).toEqual({
|
||||
host: '0.0.0.0',
|
||||
host: '127.0.0.1',
|
||||
port: 3211,
|
||||
});
|
||||
expect(
|
||||
@@ -320,7 +320,7 @@ describe('Xtream mock environment parsing', () => {
|
||||
IPTVNATOR_XTREAM_MOCK_CONTROL: 'true',
|
||||
IPTVNATOR_XTREAM_MOCK_CONTROL_TOKEN: 'ignored',
|
||||
})
|
||||
).toEqual({ host: '0.0.0.0', port: 3211 });
|
||||
).toEqual({ host: '127.0.0.1', port: 3211 });
|
||||
});
|
||||
|
||||
it.each([
|
||||
|
||||
@@ -44,7 +44,10 @@ https://example.channels/path-to-file/4.m3u8
|
||||
`;
|
||||
const HLS_STUB = 'https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8';
|
||||
const DEFAULT_PORT = 3211;
|
||||
const DEFAULT_NORMAL_HOST = '0.0.0.0';
|
||||
// Loopback by default: the fixtures serve fabricated but unauthenticated
|
||||
// content, so they should not be reachable from other hosts unless a dev
|
||||
// explicitly opts in with HOST=0.0.0.0 (e.g. to point a phone or STB at them).
|
||||
const DEFAULT_NORMAL_HOST = '127.0.0.1';
|
||||
const DEFAULT_CONTROL_HOST = '127.0.0.1';
|
||||
const PERFORMANCE_USERNAME = 'performance';
|
||||
const PERFORMANCE_PASSWORD = 'performance';
|
||||
|
||||
Reference in new issue
Block a user