Selaa lähdekoodia

Merge pull request #2289 from tcaesvk/master

fix options.oauth2RedirectUrl to work
bubble
Tony Tam 8 vuotta sitten
committed by GitHub
vanhempi
commit
6f8599d1a5
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      src/main/javascript/SwaggerUi.js

+ 1
- 1
src/main/javascript/SwaggerUi.js Näytä tiedosto

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


Ladataan…
Peruuta
Tallenna