Skip to content

Commit c30db00

Browse files
committed
fix: also serve static_path from base_path
Fixes #111
1 parent 82a18f2 commit c30db00

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

deepaas/api/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ async def get_app(
103103
if swagger:
104104
doc = str(pathlib.Path(base_path + doc))
105105
swagger = str(pathlib.Path(base_path + "/swagger.json"))
106+
static_path = str(pathlib.Path(base_path + static_path))
106107

107108
# init docs with all parameters, usual for ApiSpec
108109
aiohttp_apispec.setup_aiohttp_apispec(

0 commit comments

Comments
 (0)