aboutsummaryrefslogtreecommitdiff
path: root/textproc/opensearch-dashboards/files/patch-plugins_reportsDashboards_server_routes_utils_constants.js
blob: 520cc7c3a192ed83041a1393d120b2aa7a64d4c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- plugins/reportsDashboards/server/routes/utils/constants.js.orig	2021-11-22 18:22:17 UTC
+++ plugins/reportsDashboards/server/routes/utils/constants.js
@@ -107,7 +107,7 @@ const SECURITY_CONSTANTS = {
 exports.SECURITY_CONSTANTS = SECURITY_CONSTANTS;
 const EXTRA_HEADERS = ['cookie', 'x-proxy-user', 'x-proxy-roles', 'x-forwarded-for'];
 exports.EXTRA_HEADERS = EXTRA_HEADERS;
-const CHROMIUM_PATH = `${__dirname}/../../../.chromium/headless_shell`;
+const CHROMIUM_PATH = `%%LOCALBASE%%/bin/chrome`;
 /**
  * Metric constants
  */