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.
1 parent 1ea7786 commit e127bf3Copy full SHA for e127bf3
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