[auth] fixed base spec url

This commit is contained in:
Anna Bodnia
2016-03-04 20:58:32 +02:00
parent 56d5b8d67e
commit a4f98a5f78
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@
if (url && url.length > 1) { if (url && url.length > 1) {
url = decodeURIComponent(url[1]); url = decodeURIComponent(url[1]);
} else { } else {
url = "http://localhost:3001/swagger.json"; url = "http://petstore.swagger.io/v2/swagger.json";
} }
hljs.configure({ hljs.configure({

View File

@@ -12,7 +12,7 @@ SwaggerUi.Views.HeaderView = Backbone.View.extend({
showPetStore: function(){ showPetStore: function(){
this.trigger('update-swagger-ui', { this.trigger('update-swagger-ui', {
url:'http://localhost:3001/swagger.json' url:'http://petstore.swagger.io/v2/swagger.json'
}); });
}, },