Bläddra i källkod

Merge pull request #2289 from tcaesvk/master

fix options.oauth2RedirectUrl to work
bubble
Tony Tam 8 år sedan
committed by GitHub
förälder
incheckning
6f8599d1a5
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      src/main/javascript/SwaggerUi.js

+ 1
- 1
src/main/javascript/SwaggerUi.js Visa fil

@@ -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


Laddar…
Avbryt
Spara