nbio: Can't render HTML

Hello, I start to migrate a new engine to my service but there is a requirement to render Swagger Page for testing purposes. when I try to open Swagger Page using the NBIO engine that only renders HTML text. Do you have any solution for this? Thanks

Screen Shot 2023-03-05 at 21 45 27

Notes: I using net/http with chi as a mux handler

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 16 (9 by maintainers)

Most upvoted comments

Do we continue the conversation here, as it’s a similar issue or do i create a new issue?

@successor1 Please check all the previous conversations, it was not an issue…

You can provide a full example that can reproduce your problem, it will be better to open another issue, and I will try it.

@lesismal sorry I forgot to set the config, now it’s working perfectly. thanks for the great support!