We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5195447 + 52aaf87 commit 958e748Copy full SHA for 958e748
src/main/javascript/view/MainView.js
@@ -62,7 +62,7 @@ SwaggerUi.Views.MainView = Backbone.View.extend({
62
this.model.validatorUrl = null;
63
} else {
64
// Default validator
65
- if(window.location.protocol === 'https') {
+ if(window.location.protocol === 'https:') {
66
this.model.validatorUrl = 'https://online.swagger.io/validator';
67
}
68
else {
0 commit comments