Skip to content

Commit

Permalink
Swagger: Use relative openapi path
Browse files Browse the repository at this point in the history
  • Loading branch information
byewokko committed Jul 8, 2022
1 parent 1ab03a9 commit e141d0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asab/api/doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ async def doc(self, request):
title=self.App.__class__.__name__,
swagger_css_url=swagger_css_url,
swagger_js_url=swagger_js_url,
openapi_url="/asab/v1/openapi",
openapi_url="./asab/v1/openapi",
)

return aiohttp.web.Response(text=page, content_type="text/html")
Expand Down

0 comments on commit e141d0e

Please sign in to comment.