Skip to content

Commit

Permalink
Merge pull request #887 from phillip-kruger/main
Browse files Browse the repository at this point in the history
Fix initOAuth in Swagger UI
  • Loading branch information
phillip-kruger committed Aug 26, 2021
2 parents 88fb37a + f4578d1 commit 0225610
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/open-api-ui/src/main/resources/template/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@
ui.oauth2RedirectUrl = oar;
}
${initOAuthSection}
window.ui = SwaggerUIBundle(ui)
${initOAuthSection}
document.getElementsByClassName("link")[0].innerHTML = "<a href='${selfHref}'><img src='${logoHref}' alt='${title}' height='44' align='middle'></a>";
}
</script>
Expand Down

0 comments on commit 0225610

Please sign in to comment.