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..c4daf777e 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') } @@ -32,6 +32,7 @@ function openGithubLink() { .app-version { color: $gray-800; + word-spacing: 3px; cursor: pointer; }