Merge pull request #2289 from tcaesvk/master

fix options.oauth2RedirectUrl to work
This commit is contained in:
Tony Tam
2016-07-21 07:47:09 -07:00
committed by GitHub

View File

@@ -42,7 +42,7 @@ window.SwaggerUi = Backbone.Router.extend({
} }
if (typeof options.oauth2RedirectUrl === 'string') { if (typeof options.oauth2RedirectUrl === 'string') {
window.oAuthRedirectUrl = options.redirectUrl; window.oAuthRedirectUrl = options.oauth2RedirectUrl;
} }
// Create an empty div which contains the dom_id // Create an empty div which contains the dom_id