diff --git a/env.d.ts b/env.d.ts index 37f16cdb7..74757abee 100644 --- a/env.d.ts +++ b/env.d.ts @@ -1,3 +1,4 @@ /// declare const UI_VERSION: string declare const REQUIRED_API_VERSION: string +declare const MIN_UI_VERSION_FOR_DIRECT_SERVE: string diff --git a/index.html b/index.html index 37634417e..9cb825b37 100644 --- a/index.html +++ b/index.html @@ -7,13 +7,13 @@ - + NethSecurity
- + diff --git a/package.json b/package.json index efcbdebd4..87d4ffea2 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,8 @@ "name": "nethsecurity-ui", "version": "2.23.3", "config": { - "requiredApiVersion": "~3.7.0" + "requiredApiVersion": "~3.7.0", + "minUiVersionForDirectServe": "2.24.0" }, "private": true, "type": "module", diff --git a/src/App.vue b/src/App.vue index 9281fba6d..37d6a098f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -8,7 +8,7 @@ import ControllerApp from './ControllerApp.vue' import StandaloneApp from './StandaloneApp.vue' import { useThemeStore } from '@/stores/theme' import { onMounted } from 'vue' -import { isStandaloneMode } from './lib/config' +import { isStandaloneBuild } from './lib/config' const welcomeMsg = [ ' _ _ _ _ _____ _ _ ', @@ -30,7 +30,7 @@ onMounted(() => {