fix options.oauth2RedirectUrl to work

This commit is contained in:
김 재석
2016-07-21 16:48:50 +09:00
parent b5ec59375c
commit f3ec1b62a7

View 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