Skip to content

Commit

Permalink
Fix: Fix links to manual
Browse files Browse the repository at this point in the history
The language must not be included in the default URL. It is added
depending on the current user settings.

Also update the links to the GMP docs.

Closes #3814.
  • Loading branch information
bjoernricks committed Jul 25, 2023
1 parent 28f7693 commit 4ffbef3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gmp/gmpsettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import {isDefined} from './utils/identity';
export const DEFAULT_RELOAD_INTERVAL = 15 * 1000; // fifteen seconds
export const DEFAULT_RELOAD_INTERVAL_ACTIVE = 3 * 1000; // three seconds
export const DEFAULT_RELOAD_INTERVAL_INACTIVE = 60 * 1000; // one minute
export const DEFAULT_MANUAL_URL = `https://docs.greenbone.net/GSM-Manual/gos-22.04/en/`;
export const DEFAULT_PROTOCOLDOC_URL = `https://docs.greenbone.net/API/GMP/gmp-22.04.html`;
export const DEFAULT_MANUAL_URL = `https://docs.greenbone.net/GSM-Manual/gos-22.04/`;
export const DEFAULT_PROTOCOLDOC_URL = `https://docs.greenbone.net/API/GMP/gmp-22.4.html`;
export const DEFAULT_REPORT_RESULTS_THRESHOLD = 25000;
export const DEFAULT_LOG_LEVEL = 'warn';
export const DEFAULT_TIMEOUT = 300000; // 5 minutes
Expand Down

0 comments on commit 4ffbef3

Please sign in to comment.