Skip to content

Commit

Permalink
bump swagger ui
Browse files Browse the repository at this point in the history
  • Loading branch information
pjaudiomv committed Jun 23, 2024
1 parent 86f1c28 commit dce5bcf
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 16 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
.DS_Store
build/
src/
terraform/
docker/
14 changes: 7 additions & 7 deletions oauth2-redirect.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@
arr = qp.split("&");
arr.forEach(function (v,i,_arr) { _arr[i] = '"' + v.replace('=', '":"') + '"';});
qp = qp ? JSON.parse('{' + arr.join() + '}',
function (key, value) {
return key === "" ? value : decodeURIComponent(value);
}
function (key, value) {
return key === "" ? value : decodeURIComponent(value);
}
) : {};

isValid = qp.state === sentState;

if ((
oauth2.auth.schema.get("flow") === "accessCode" ||
oauth2.auth.schema.get("flow") === "authorizationCode" ||
oauth2.auth.schema.get("flow") === "authorization_code"
oauth2.auth.schema.get("flow") === "accessCode" ||
oauth2.auth.schema.get("flow") === "authorizationCode" ||
oauth2.auth.schema.get("flow") === "authorization_code"
) && !oauth2.auth.code) {
if (!isValid) {
oauth2.errCb({
Expand Down Expand Up @@ -76,4 +76,4 @@
}
</script>
</body>
</html>
</html>
3 changes: 1 addition & 2 deletions swagger-ui-bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion swagger-ui-es-bundle-core.js

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions swagger-ui-es-bundle.js

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions swagger-ui-standalone-preset.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion swagger-ui.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion swagger-ui.js

Large diffs are not rendered by default.

0 comments on commit dce5bcf

Please sign in to comment.