Skip to content

Commit

Permalink
Fix redirect url
Browse files Browse the repository at this point in the history
Signed-off-by: Vacha Shah <vachshah@amazon.com>
  • Loading branch information
VachaShah committed Apr 6, 2023
1 parent 2f200c7 commit 575e91f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/oauth2-redirect.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
function run () {
var oauth2 = window.opener.swaggerUIRedirectOauth2;
var sentState = oauth2.state;
var redirectUrl = oauth2.redirectUrl;
var redirectUrl = "http://localhost:9200";
var isValid, qp, arr;

if (/code|token|error/.test(window.location.hash)) {
Expand Down
1 change: 1 addition & 0 deletions dist/swagger-initializer.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ window.onload = function() {
plugins: [
SwaggerUIBundle.plugins.DownloadUrl
],
oauth2RedirectUrl: "http://localhost:9200",
layout: "StandaloneLayout"
});

Expand Down

0 comments on commit 575e91f

Please sign in to comment.