Skip to content

Commit 9d36f9f

Browse files
Update main.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 1bd0061 commit 9d36f9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from app.core.app import app # noqa: F401
44
from app.core.config import settings
55

6-
if __name__ == "__main__":
6+
if __name__ == "__main__" and settings.APP_ENV != "vercel":
77
import uvicorn
88

99
PORT = os.getenv("PORT", settings.PORT)

0 commit comments

Comments
 (0)