From c60ed18399148efb9c3495727aad373b1981f036 Mon Sep 17 00:00:00 2001 From: LimeDrive Date: Tue, 17 Sep 2024 13:09:29 +0200 Subject: [PATCH] Fixes #32 - remove apikey check on config route for app and androide. --- pyproject.toml | 2 +- stream_fusion/web/root/config/views.py | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 104d02d..4599c3c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "stream-fusion" -version = "1.4.0" +version = "1.4.1" description = "StreamFusion is an advanced plugin for Stremio that significantly enhances its streaming capabilities with debrid service." authors = ["LimeDrive "] readme = "README.md" diff --git a/stream_fusion/web/root/config/views.py b/stream_fusion/web/root/config/views.py index d3f9ddb..8e20261 100644 --- a/stream_fusion/web/root/config/views.py +++ b/stream_fusion/web/root/config/views.py @@ -97,12 +97,12 @@ async def get_manifest(config: str): config = parse_config(config) logger.debug(f"Parsed configuration: {config}") - api_key = config.get("apiKey") - if api_key: - await check_api_key(api_key) - else: - logger.warning("API key not found in config.") - raise HTTPException(status_code=401, detail="API key not found in config.") + # api_key = config.get("apiKey") + # if api_key: + # await check_api_key(api_key) + # else: + # logger.warning("API key not found in config.") + # raise HTTPException(status_code=401, detail="API key not found in config.") yggflix_ctg = config.get("yggflixCtg", True) yggtorrent_ctg = config.get("yggtorrentCtg", True)