Skip to content

Commit

Permalink
fix: update import statement in main.py
Browse files Browse the repository at this point in the history
Signed-off-by: Palaniappan R <[email protected]>
  • Loading branch information
palaniappan-r committed Oct 28, 2024
1 parent 131213d commit cdc4df3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@
import uvicorn
from dotenv import load_dotenv

from backend.src.api.main import app
from src.api.main import app

load_dotenv()


def main() -> None:
uvicorn.run(
app, host=os.getenv('BACKEND_URL','0.0.0.0'), port=8000, workers=int(os.getenv('BACKEND_WORKERS', 1))
app,
host=os.getenv("BACKEND_URL", "0.0.0.0"),
port=8000,
workers=int(os.getenv("BACKEND_WORKERS", 1)),
)


Expand Down

0 comments on commit cdc4df3

Please sign in to comment.