Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Commit

Permalink
restore default sample url
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuales committed Aug 13, 2015
1 parent dfe363f commit 18040d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h3 ng-show="isLoading">loading ...</h3>
.controller('MyCtrl', function($scope) {
// init form
$scope.isLoading = false;
$scope.url = $scope.swaggerUrl = 'http://127.0.0.1:9002/samples/index.json';
$scope.url = $scope.swaggerUrl = 'http://petstore.swagger.io/v2/swagger.json';
// error management
$scope.myErrorHandler = function(data, status){
alert('failed to load swagger: '+status+' '+data);
Expand Down

0 comments on commit 18040d9

Please sign in to comment.