1
1
forked from wangqifan/calc
calc/backend/main.py
2025-04-02 16:57:05 +08:00

7 lines
198 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

from app.main import app
# 这个文件只是一个入口点实际的应用逻辑在app/main.py中
if __name__ == "__main__":
import uvicorn
uvicorn.run(app, host="0.0.0.0", port=8000)