Closed grumpyp closed 2 months ago
Describe the bug Used swag init, it generated the docs, all looks good - but somehow the docs load http:// and https:// content? Which leads to a CORS issue.
swag init
http://
https://
Expected behavior Only load secure https://
Screenshots
Your swag version 1.16.3
1.16.3
Your go version go version go1.21.5 darwin/arm64
go version go1.21.5 darwin/arm64
Describe the bug Used
swag init
, it generated the docs, all looks good - but somehow the docs loadhttp://
andhttps://
content? Which leads to a CORS issue.Expected behavior Only load secure
https://
Screenshots![image](https://github.com/swaggo/swag/assets/75830792/d4560f1d-fed6-45f5-9416-b68dfc307965)
Your swag version
1.16.3
Your go version
go version go1.21.5 darwin/arm64