Skip to content

Commit

Permalink
Merge pull request #255 from TeskaLabs/refactoring/relative-openapi-path
Browse files Browse the repository at this point in the history
Use relative openapi path
  • Loading branch information
byewokko authored Jul 8, 2022
2 parents c027022 + e141d0e commit d705cd9
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 @@ -175,7 +175,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 d705cd9

Please sign in to comment.