Skip to content
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

location.scheme should have priority over those declared in the spec. #841

Closed
c4milo opened this issue Aug 28, 2016 · 2 comments
Closed

Comments

@c4milo
Copy link
Contributor

c4milo commented Aug 28, 2016

My swagger spec declares http and https, in that order.

When I access my app over over TLS, swagger-js attempts to use http and so the browser stops it from doing so. Can we make it so that it gives priority to location.scheme instead?

@c4milo
Copy link
Contributor Author

c4milo commented Aug 28, 2016

This same issue may be causing this one too: swagger-api/swagger-ui#1006

@edrex
Copy link

edrex commented Aug 29, 2016

Downstream bug: swagger-api/swagger-ui#1670

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants