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/10 10:01:53 UTC
[ambari] branch trunk 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 trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new 4b60f5c AMBARI-24597. Popup shown when Ambari started on a different port other than 8080 (akovalenko)
4b60f5c is described below
commit 4b60f5ce03a44f320a252dbb8ab88c078d54a345
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,