Browse Source

fix options.oauth2RedirectUrl to work

bubble
김 재석 8 years ago
parent
commit
f3ec1b62a7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/javascript/SwaggerUi.js

+ 1
- 1
src/main/javascript/SwaggerUi.js View File

@@ -42,7 +42,7 @@ window.SwaggerUi = Backbone.Router.extend({
}

if (typeof options.oauth2RedirectUrl === 'string') {
window.oAuthRedirectUrl = options.redirectUrl;
window.oAuthRedirectUrl = options.oauth2RedirectUrl;
}

// Create an empty div which contains the dom_id


Loading…
Cancel
Save