Skip to content

Commit

Permalink
Fix documentation url
Browse files Browse the repository at this point in the history
  • Loading branch information
Tostti committed Jan 30, 2024
1 parent 2fbb9e7 commit 0f81b4b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/core/public/chrome/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@
*/
import wazuh from '../../../../package.json';

export const WAZUH_VERSION = wazuh.wazuh.version;
export const WAZUH_MAJOR = wazuh.wazuh.version.split('.')[0];
export const WAZUH_MINOR = wazuh.wazuh.version.split('.')[1];

export const OPENSEARCH_DASHBOARDS_FEEDBACK_LINK = 'https://wazuh.com/community/join-us-on-slack';
export const OPENSEARCH_DASHBOARDS_ASK_OPENSEARCH_LINK = OPENSEARCH_DASHBOARDS_FEEDBACK_LINK;
export const GITHUB_CREATE_ISSUE_LINK = 'https://github.com/wazuh/wazuh/issues/new/choose';
export const WAZUH_DOCUMENTATION_URL = `https://documentation.wazuh.com/${WAZUH_VERSION}/`;
export const WAZUH_DOCUMENTATION_URL = `https://documentation.wazuh.com/${WAZUH_MAJOR}.${WAZUH_MINOR}/`;

0 comments on commit 0f81b4b

Please sign in to comment.