New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
swagger-ui is requesting the validator over http even when swagger-ui was loaded over https #1441
Comments
You can disable the validator by using:
Put this in the area where you render the SwaggerUi object |
#1427 offers a partial fix. However, right now we don't really host the validator on https (it will redirect to http). |
so no chance you will ever host a validator behind https? its pretty annoying. |
we will move it under https. It just doesn't happen automatically, so it takes a bit of time. |
Would be great if you could move the validator to https. |
@guido4000 - it's already running on https as well. |
@webron I do get redirected from |
I believe the problem is in the following IF block
in my browser (Chrome Version 43.0.2357.130 m (64-bit))
window.location.protocol
returnshttps:
with a colon:
,However even when I changed that line to:
I still get a Mixed Content warning in the console saying that my page requested an insecure image.
The text was updated successfully, but these errors were encountered: