diff --git a/dist/oauth2-redirect.html b/dist/oauth2-redirect.html
index 564091718..aa79a0bb7 100644
--- a/dist/oauth2-redirect.html
+++ b/dist/oauth2-redirect.html
@@ -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)) {
diff --git a/dist/swagger-initializer.js b/dist/swagger-initializer.js
index f2a6bf5df..b13a44109 100644
--- a/dist/swagger-initializer.js
+++ b/dist/swagger-initializer.js
@@ -13,6 +13,7 @@ window.onload = function() {
plugins: [
SwaggerUIBundle.plugins.DownloadUrl
],
+ oauth2RedirectUrl: "http://localhost:9200",
layout: "StandaloneLayout"
});