sveint / flask-swagger-ui

Swagger UI blueprint for flask
MIT License
180 stars 61 forks source link

Blocked resources due to wrong MIME type #45

Open Katzmann1983 opened 2 years ago

Katzmann1983 commented 2 years ago

Hello,

on my local system swagger ui is working great. But when deploying it in our kubernetes cluster the page apears blank. First w arning is raised: Strict-Transport-Security: The connection to the site is untrustworthy, so the specified header was ignored. Then an ERROR: The resource from “https://dev-sitecloud.siemensgamesa.com/v1/elsasafalparser/api/apidocs//swagger-ui-bundle.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff). And at the end the page stays blank. Any suggestions?

alaaseada commented 3 weeks ago

I have the same issue while deploying my API to Netlify.