web: change url from nfoguard-core to nfoguard
Local Docker Build (Dev) / build-dev (push) Successful in 5s
Local Docker Build (Dev) / build-dev (push) Successful in 5s
This commit is contained in:
+4
-4
@@ -619,7 +619,7 @@ async def update_episode_date(dependencies: dict, imdb_id: str, season: int, epi
|
||||
import os
|
||||
|
||||
# Get core container connection details
|
||||
core_host = os.environ.get("CORE_API_HOST", "nfoguard-core")
|
||||
core_host = os.environ.get("CORE_API_HOST", "nfoguard")
|
||||
core_port = os.environ.get("CORE_API_PORT", "8080")
|
||||
|
||||
# Call core container to update NFO file
|
||||
@@ -1412,7 +1412,7 @@ def register_web_routes(app, dependencies):
|
||||
import socket
|
||||
|
||||
# Get core container URL
|
||||
core_host = os.environ.get("CORE_API_HOST", "nfoguard-core")
|
||||
core_host = os.environ.get("CORE_API_HOST", "nfoguard")
|
||||
core_port = os.environ.get("CORE_API_PORT", "8080")
|
||||
|
||||
# Forward query parameters from the request
|
||||
@@ -1460,7 +1460,7 @@ def register_web_routes(app, dependencies):
|
||||
import socket
|
||||
|
||||
# Get core container connection details
|
||||
core_host = os.environ.get("CORE_API_HOST", "nfoguard-core")
|
||||
core_host = os.environ.get("CORE_API_HOST", "nfoguard")
|
||||
core_port = os.environ.get("CORE_API_PORT", "8080")
|
||||
|
||||
try:
|
||||
@@ -1548,7 +1548,7 @@ async def get_episodes_missing_nfo_dateadded(dependencies: dict):
|
||||
import aiohttp
|
||||
import asyncio
|
||||
|
||||
core_url = f"http://nfoguard-core:{config.core_api_port}/admin/nfo-repair-scan"
|
||||
core_url = f"http://nfoguard:{config.core_api_port}/admin/nfo-repair-scan"
|
||||
print(f"🔍 DEBUG: Calling core container at: {core_url}")
|
||||
|
||||
timeout = aiohttp.ClientTimeout(total=300.0) # 5 minute timeout for filesystem scan
|
||||
|
||||
Reference in New Issue
Block a user