You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ak...@apache.org on 2018/09/06 14:18:44 UTC
[ambari] branch branch-2.7 updated: AMBARI-24597. Popup shown when
Ambari started on a different port other than 8080 (akovalenko)
This is an automated email from the ASF dual-hosted git repository.
akovalenko pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/branch-2.7 by this push:
new c9e98f9 AMBARI-24597. Popup shown when Ambari started on a different port other than 8080 (akovalenko)
c9e98f9 is described below
commit c9e98f9fa2956a51a580d9e44e62d561e243f7ab
Author: Aleksandr Kovalenko <ak...@apache.org>
AuthorDate: Thu Sep 6 13:07:24 2018 +0300
AMBARI-24597. Popup shown when Ambari started on a different port other than 8080 (akovalenko)
---
ambari-admin/src/main/resources/ui/admin-web/app/scripts/app.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ambari-admin/src/main/resources/ui/admin-web/app/scripts/app.js b/ambari-admin/src/main/resources/ui/admin-web/app/scripts/app.js
index 98b0383..f68a1cf 100644
--- a/ambari-admin/src/main/resources/ui/admin-web/app/scripts/app.js
+++ b/ambari-admin/src/main/resources/ui/admin-web/app/scripts/app.js
@@ -28,7 +28,7 @@ angular.module('ambariAdminConsole', [
.constant('Settings', {
siteRoot: '{proxy_root}/'.replace(/\{.+\}/g, ''),
baseUrl: '{proxy_root}/api/v1'.replace(/\{.+\}/g, ''),
- testMode: (window.location.port == 8000),
+ testMode: false,
mockDataPrefix: 'assets/data/',
isLDAPConfigurationSupported: false,
isLoginActivitiesSupported: false,