Skip to content

Commit

Permalink
PB-1031: redirect github link to release page
Browse files Browse the repository at this point in the history
The github link now leads to the specific release
  • Loading branch information
ltkum committed Jan 21, 2025
1 parent d9b3be2 commit 972f675
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config/staging.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
2 changes: 1 addition & 1 deletion src/utils/components/AppVersion.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}
</script>

Expand Down

0 comments on commit 972f675

Please sign in to comment.