Sfoglia il codice sorgente

Merge pull request #2289 from tcaesvk/master

fix options.oauth2RedirectUrl to work
bubble
Tony Tam 8 anni fa
committed by GitHub
parent
commit
6f8599d1a5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/main/javascript/SwaggerUi.js

+ 1
- 1
src/main/javascript/SwaggerUi.js Vedi 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


Caricamento…
Annulla
Salva