()
| 1232 | |
| 1233 | def _load_public_webhook_base_url() -> str: |
| 1234 | data_dir = Path(__file__).resolve().parents[2] / "data" |
| 1235 | ngrok_url_path = data_dir / "ngrok_url.txt" |
| 1236 | if not ngrok_url_path.exists(): |
| 1237 | return "" |
| 1238 | try: |
| 1239 | return str(ngrok_url_path.read_text(encoding="utf-8").strip()).rstrip("/") |
| 1240 | except Exception: |
| 1241 | return "" |
| 1242 | |
| 1243 | |
| 1244 | def _build_doc_tracking_url( |
| 1245 | *, |
no outgoing calls
no test coverage detected