fix: register hosting public preview route + suppress SSL warnings
- Register hosting public page router in main.py (POC preview at
/hosting/sites/{id}/preview was returning 404 because the
public_page_router was set on module definition but never mounted)
- Suppress urllib3 InsecureRequestWarning in enrichment service
(intentional verify=False for prospect site scanning)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -16,6 +16,10 @@ import ssl
|
||||
from datetime import UTC, datetime
|
||||
|
||||
import requests
|
||||
import urllib3
|
||||
|
||||
# Suppress SSL warnings for intentional verify=False on prospect sites # noqa: SEC047
|
||||
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) # noqa: SEC047
|
||||
from sqlalchemy.orm import Session
|
||||
|
||||
from app.modules.prospecting.config import config
|
||||
|
||||
Reference in New Issue
Block a user