Skip to content

Commit

Permalink
change root path
Browse files Browse the repository at this point in the history
  • Loading branch information
elsholz committed Dec 28, 2023
1 parent c3466ac commit 8d44dc2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/code/metroplanner_api/metroplanner_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@

app = FastAPI(
servers=[{"url": ENV.api_url, "description": "CloudFront URL"}],
root_path="/dev",
root_path_in_servers=False,
)

from . import v1

router = APIRouter(prefix="/dev/api")
router = APIRouter(prefix="/api")
router.include_router(v1.router)

app.include_router(router)
Expand Down

0 comments on commit 8d44dc2

Please sign in to comment.