Skip to content

Commit

Permalink
Run on 8081 because of local env
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Waltlova <[email protected]>
  • Loading branch information
andywaltlova committed Nov 1, 2024
1 parent 5c1d6cf commit 88cadf7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ install:
$(PIP) install -r requirements-dev.txt

run:
$(UVICORN) app.main:app --reload
$(UVICORN) app.main:app --reload --port 8081

clean:
rm -rf $(VENV_DIR)
Expand Down
4 changes: 2 additions & 2 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
api_router = APIRouter()

# Include individual service routers under the main API router
api_router.include_router(released_v1_router, prefix="/v1/released", tags=["released"])
api_router.include_router(upcoming_v1_router, prefix="/v1/upcoming", tags=["upcoming"])
api_router.include_router(released_v1_router, prefix="/v1/release-notes", tags=["release-notes"])
api_router.include_router(upcoming_v1_router, prefix="/v1/upcoming-changes", tags=["upcoming-changes"])

# Include the main API router in the FastAPI app with the prefix
app.include_router(api_router, prefix="/api")

0 comments on commit 88cadf7

Please sign in to comment.