lovebird25 / api /index.py
Paul
Initial commit
75146bf
raw
history blame contribute delete
309 Bytes
"""
Vercel serverless entry point for FastAPI.
This is a wrapper that exports the FastAPI app.
"""
import sys
from pathlib import Path
# Add parent directory to path to import our modules
sys.path.insert(0, str(Path(__file__).parent.parent))
from main import app
# Export app for Vercel
__all__ = ["app"]