From 972f67556afcae83ff53566f94f66ee48a9f24b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20K=C3=BCnzi?= Date: Tue, 21 Jan 2025 15:58:23 +0100 Subject: [PATCH] PB-1031: redirect github link to release page The github link now leads to the specific release --- src/config/staging.config.js | 2 +- src/utils/components/AppVersion.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/staging.config.js b/src/config/staging.config.js index 085d52059..4f1132104 100644 --- a/src/config/staging.config.js +++ b/src/config/staging.config.js @@ -29,7 +29,7 @@ export const APP_VERSION = __APP_VERSION__ * @type {String} */ -export const GITHUB_REPOSITORY = 'https://github.com/geoadmin/web-mapviewer' +export const GITHUB_REPOSITORY = 'https://github.com/geoadmin/web-mapviewer/releases/tag/' /** * Display a big development banner on all but these hosts. * diff --git a/src/utils/components/AppVersion.vue b/src/utils/components/AppVersion.vue index 89ac57cd6..95fe3a106 100644 --- a/src/utils/components/AppVersion.vue +++ b/src/utils/components/AppVersion.vue @@ -11,7 +11,7 @@ const appVersion = ref(APP_VERSION) const isProd = computed(() => store.getters.isProductionSite) function openGithubLink() { - window.open(GITHUB_REPOSITORY, '_blank') + window.open(GITHUB_REPOSITORY + APP_VERSION, '_blank') }