Closed ghost closed 1 year ago
Hey @jasiqli i've published a new version (v0.1.10) that fixes this issue
This works just as I hoped now @G4brym. My (possibly completely inane) demonstration (and reason for this report in the first place) is https://github.com/jasiqli/pages-openapi Any thoughts appreciated.
If the main router has
base
set, going to/<base>/docs
rendersand
/<base>/redocs
is broken too. Removal of thebase
configuration renders the pages.The
openapi.json
file does load directly at/<base>/openapi.json
though.Using the
workers-sdk
openapi exampleAll other routes continue to work when
base
is set.Setting
docs_url
oropenapi_url
didn't change the above result. Tested with0.1.0
->0.1.6
.