sveint / flask-swagger-ui

Swagger UI blueprint for flask

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blocked resources due to wrong MIME type

Katzmann1983 opened this issue · comments

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?