Parcourir la source

fix options.oauth2RedirectUrl to work

bubble
김 재석 il y a 8 ans
Parent
révision
f3ec1b62a7
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      src/main/javascript/SwaggerUi.js

+ 1
- 1
src/main/javascript/SwaggerUi.js Voir le fichier

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


Chargement…
Annuler
Enregistrer