Fix Railway entry point - re-export FastAPI app from backend.main

This commit is contained in:
Krishna Kumar
2025-12-30 04:00:55 -06:00
parent 2b2207035c
commit 3f2915629e

View File

@@ -1,6 +1,5 @@
def main():
print("Hello from llm-council!")
# Railway entry point - re-export FastAPI app from backend
from backend.main import app
if __name__ == "__main__":
main()
# This allows Railway to detect the app with: uvicorn main:app
__all__ = ["app"]