Skip to content

Commit 575e91f

Browse files
committed
Fix redirect url
Signed-off-by: Vacha Shah <vachshah@amazon.com>
1 parent 2f200c7 commit 575e91f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dist/oauth2-redirect.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
function run () {
1010
var oauth2 = window.opener.swaggerUIRedirectOauth2;
1111
var sentState = oauth2.state;
12-
var redirectUrl = oauth2.redirectUrl;
12+
var redirectUrl = "http://localhost:9200";
1313
var isValid, qp, arr;
1414

1515
if (/code|token|error/.test(window.location.hash)) {

dist/swagger-initializer.js

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ window.onload = function() {
1313
plugins: [
1414
SwaggerUIBundle.plugins.DownloadUrl
1515
],
16+
oauth2RedirectUrl: "http://localhost:9200",
1617
layout: "StandaloneLayout"
1718
});
1819

0 commit comments

Comments
 (0)