Skip to content

Commit

Permalink
fix: also serve static_path from base_path
Browse files Browse the repository at this point in the history
Fixes #111
  • Loading branch information
alvarolopez committed Aug 9, 2024
1 parent 22dcae9 commit 372c1ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deepaas/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ async def get_app(
if swagger:
doc = str(pathlib.Path(base_path + doc))
swagger = str(pathlib.Path(base_path + "/swagger.json"))
static_path = str(pathlib.Path(base_path + static_path))

# init docs with all parameters, usual for ApiSpec
aiohttp_apispec.setup_aiohttp_apispec(
Expand Down

0 comments on commit 372c1ba

Please sign in to comment.