JS version compatibility, remove version number from footer

buefy-0.9
Manuel Kasper 2023-05-10 15:17:41 +02:00
rodzic 2e71728a4e
commit b32884364c
4 zmienionych plików z 4 dodań i 3 usunięć

1
.env
Wyświetl plik

@ -3,3 +3,4 @@ VUE_APP_WSS_URL="wss://sotl.as/api"
VUE_APP_PHOTOS_URL="https://photos.sotl.as"
VUE_APP_PHOTOS_ORIGINAL_URL="https://sotlas-photos.s3.eu-central-003.backblazeb2.com/original"
VUE_APP_ELEVATION_API_URL="https://elevation.sotl.as/api"
PUBLIC_PATH=/

Wyświetl plik

@ -16,7 +16,7 @@ export default {
name: 'Footer',
computed: {
version () {
return VERSION + '-' + COMMITHASH.substring(0, 7)
return 'Build ' + COMMITHASH.substring(0, 7) + ' (' + BRANCH + ')'
}
}
}

Wyświetl plik

@ -23,7 +23,7 @@ Vue.use(Router)
let router = new Router({
mode: 'history',
base: process.env.PUBLIC_PATH ?? '/',
base: process.env.PUBLIC_PATH,
routes: [
{
path: '/',

Wyświetl plik

@ -16,5 +16,5 @@ module.exports = {
})
]
},
publicPath: process.env.PUBLIC_PATH ?? '/'
publicPath: process.env.PUBLIC_PATH
}