Fix issue #1160 "piKey is not set when Explore button is clicked "

This commit is contained in:
Mohsen Azimi
2015-04-14 13:30:55 -07:00
parent e0687b044d
commit a7d708593c
4 changed files with 12 additions and 4 deletions

2
dist/swagger-ui.js vendored
View File

@@ -20692,7 +20692,7 @@ SwaggerUi.Views.MainView = Backbone.View.extend({
} else {
// Default validator
this.model.validatorUrl = 'http://online.swagger.io/validator';
this.model.validatorUrl = window.location.protocol + '//online.swagger.io/validator';
}
}
},