From 6e70614a2e874e6f01ac012a22705e45ebeaba45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Fri, 30 Jun 2023 13:43:50 +0200 Subject: [PATCH] Fix: Fix links to the manual and GMP documentation Despite the fact we are using 22.x.y as versions for our components now the GMP version will stay on 22.04. The URL to the manual requires the language now. --- src/gmp/gmpsettings.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/gmp/gmpsettings.js b/src/gmp/gmpsettings.js index 0f5533a803..439951e8f7 100644 --- a/src/gmp/gmpsettings.js +++ b/src/gmp/gmpsettings.js @@ -16,15 +16,13 @@ * along with this program. If not, see . */ -import {RELEASE_VERSION} from '../version'; - 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 = `http://docs.greenbone.net/GSM-Manual/gos-${RELEASE_VERSION}/`; -export const DEFAULT_PROTOCOLDOC_URL = `https://docs.greenbone.net/API/GMP/gmp-${RELEASE_VERSION}.html`; +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_REPORT_RESULTS_THRESHOLD = 25000; export const DEFAULT_LOG_LEVEL = 'warn'; export const DEFAULT_TIMEOUT = 300000; // 5 minutes