[auth] fixed base spec url
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
if (url && url.length > 1) {
|
||||
url = decodeURIComponent(url[1]);
|
||||
} else {
|
||||
url = "http://localhost:3001/swagger.json";
|
||||
url = "http://petstore.swagger.io/v2/swagger.json";
|
||||
}
|
||||
|
||||
hljs.configure({
|
||||
|
||||
@@ -12,7 +12,7 @@ SwaggerUi.Views.HeaderView = Backbone.View.extend({
|
||||
|
||||
showPetStore: function(){
|
||||
this.trigger('update-swagger-ui', {
|
||||
url:'http://localhost:3001/swagger.json'
|
||||
url:'http://petstore.swagger.io/v2/swagger.json'
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user