Skip to content

Commit 666246c

Browse files
committed
rebuilt
1 parent 28c63cc commit 666246c

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

dist/swagger-ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20891,7 +20891,7 @@ SwaggerUi.Views.MainView = Backbone.View.extend({
2089120891
} else {
2089220892

2089320893
// Default validator
20894-
if(window.location.protocol.startsWith('http')) {
20894+
if(window.location.protocol.indexOf('http') === 0) {
2089520895
this.model.validatorUrl = window.location.protocol + '//online.swagger.io/validator';
2089620896
}
2089720897
}

0 commit comments

Comments
 (0)