elysiajs / elysia-swagger

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

use relative path to swagger json #59

Closed phaux closed 10 months ago

phaux commented 11 months 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.