scottie1984 / swagger-ui-express

Adds middleware to your express app to serve the Swagger UI bound to your Swagger document. This acts as living documentation for your API hosted from within your app.
MIT License
1.43k stars 229 forks source link

Url checking improved #298

Closed StefanReininger closed 2 years ago

StefanReininger commented 2 years ago

swagger-ui-init.js and package.json are compared with endsWith now. Reason: While using Nest.Js + azure function http adapter, the url contains the hostname and the check with === does not work