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 5d5606b + e127bf3 commit e0687b0Copy full SHA for e0687b0
src/main/javascript/view/MainView.js
@@ -68,7 +68,7 @@ SwaggerUi.Views.MainView = Backbone.View.extend({
68
} else {
69
70
// Default validator
71
- this.model.validatorUrl = 'http://online.swagger.io/validator';
+ this.model.validatorUrl = window.location.protocol + '//online.swagger.io/validator';
72
}
73
74
},
0 commit comments