Skip to content

Commit 7da47a7

Browse files
committed
make openapi relative
1 parent d7a4db6 commit 7da47a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vetiver/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ async def rapidoc():
9393
<script type="module" src="https://unpkg.com/rapidoc@9.1.3/dist/rapidoc-min.js"></script>
9494
</script></head>
9595
<body>
96-
<rapi-doc spec-url="{app.openapi_url}"
96+
<rapi-doc spec-url="{self.app.openapi_url[1:]}"
9797
id="thedoc" render-style="read" schema-style="tree"
9898
show-components="true" show-info="true" show-header="true"
9999
allow-search="true"

0 commit comments

Comments
 (0)