- Optimized mobile image loading (180px vs 200px desktop) - Fixed Install App navigation not working on desktop - Fixed replaceChild null error in hero rendering - Added PWA icon (512x512) - Fixed back button navigation issues - Added mobile bottom padding for nav bar - Moved Get App FAB higher to avoid nav overlap - Removed unnecessary pushState from video navigation - Made Search/MyList tabs not scroll to top on mobile - Removed duplicate Android TV section from download page
26 lines
815 B
Python
26 lines
815 B
Python
import requests
|
|
import sys
|
|
|
|
try:
|
|
url = "http://localhost:8000/api/images/proxy"
|
|
params = {
|
|
"url": "https://placehold.co/600x400.png",
|
|
"width": 300
|
|
}
|
|
print(f"Testing {url} with params {params}...")
|
|
response = requests.get(url, params=params)
|
|
|
|
print(f"Status Code: {response.status_code}")
|
|
print(f"Content-Type: {response.headers.get('content-type')}")
|
|
print(f"Content-Length: {len(response.content)}")
|
|
|
|
if response.status_code == 200 and response.headers.get('content-type') == 'image/webp':
|
|
print("SUCCESS: Image proxy is working!")
|
|
sys.exit(0)
|
|
else:
|
|
print("FAILURE: Image proxy failed.")
|
|
print(f"Response: {response.text[:200]}")
|
|
sys.exit(1)
|
|
except Exception as e:
|
|
print(f"EXCEPTION: {e}")
|
|
sys.exit(1)
|