10 lines
311 B
Python
10 lines
311 B
Python
"""Compatibility entry point for existing ``uvicorn server:app`` deployments."""
|
|
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
# Also support --app-dir /path/to/s2s-client when launched outside the checkout.
|
|
sys.path.insert(0, str(Path(__file__).resolve().parent))
|
|
|
|
from s2s_client.main import app as app # noqa: E402
|