From 529705afce61c4349c0d77c8a20824030656ece5 Mon Sep 17 00:00:00 2001 From: Mariusz Lewicki Date: Tue, 25 Aug 2015 21:25:32 +0200 Subject: [PATCH] fix for issue 1350 --- dist/swagger-ui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/swagger-ui.js b/dist/swagger-ui.js index 0b8a10bd..ef41af05 100644 --- a/dist/swagger-ui.js +++ b/dist/swagger-ui.js @@ -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 @@ -32184,4 +32184,4 @@ SwaggerUi.Views.StatusCodeView = Backbone.View.extend({ } return this; } -});}).call(this); \ No newline at end of file +});}).call(this);