elysiajs / elysia-swagger

A plugin for Elysia to auto-generate Swagger page
MIT License
90 stars 46 forks source link

use relative path to swagger json #59

Closed phaux closed 1 year ago

phaux commented 1 year ago

I have a reverse proxy which serves my Elysia API at a subpath and it causes the swagger UI to fail loading the swagger JSON. Using relative URL fixes that.