Skip to content

Commit 9b0aa32

Browse files
committed
rebuilt
1 parent b196425 commit 9b0aa32

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

dist/lib/swagger-oauth.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ function handleLogin() {
7474

7575
var authSchemes = window.swaggerUi.api.authSchemes;
7676
var host = window.location;
77-
var redirectUrl = host.protocol + '//' + host.host + "/o2c.html";
77+
var pathname = location.pathname.substring(0, location.pathname.lastIndexOf("/"));
78+
var redirectUrl = host.protocol + '//' + host.host + pathname + "/o2c.html";
7879
var url = null;
7980

80-
var p = window.swaggerUi.api.authSchemes;
81-
for (var key in p) {
82-
if (p.hasOwnProperty(key)) {
83-
var o = p[key].grantTypes;
81+
for (var key in authSchemes) {
82+
if (authSchemes.hasOwnProperty(key)) {
83+
var o = authSchemes[key].grantTypes;
8484
for(var t in o) {
8585
if(o.hasOwnProperty(t) && t === 'implicit') {
8686
var dets = o[t];

dist/swagger-ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ function program18(depth0,data) {
396396
function program20(depth0,data) {
397397

398398

399-
return "\n <div class='sandbox_header'>\n <input class='submit' name='commit' type='button' value='Try it out!' />\n <a href='#' class='response_hider' style='display:none'>Hide Response</a>\n <img alt='Throbber' class='response_throbber' src='images/throbber.gif' style='display:none' />\n </div>\n ";
399+
return "\n <div class='sandbox_header'>\n <input class='submit' name='commit' type='button' value='Try it out!' />\n <a href='#' class='response_hider' style='display:none'>Hide Response</a>\n <span class='response_throbber' style='display:none'></span>\n </div>\n ";
400400
}
401401

402402
buffer += "\n <ul class='operations' >\n <li class='";

dist/swagger-ui.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)