kopia lustrzana https://github.com/manuelkasper/sotlas-frontend
JS version compatibility, remove version number from footer
rodzic
2e71728a4e
commit
b32884364c
1
.env
1
.env
|
@ -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=/
|
||||
|
|
|
@ -16,7 +16,7 @@ export default {
|
|||
name: 'Footer',
|
||||
computed: {
|
||||
version () {
|
||||
return VERSION + '-' + COMMITHASH.substring(0, 7)
|
||||
return 'Build ' + COMMITHASH.substring(0, 7) + ' (' + BRANCH + ')'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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: '/',
|
||||
|
|
|
@ -16,5 +16,5 @@ module.exports = {
|
|||
})
|
||||
]
|
||||
},
|
||||
publicPath: process.env.PUBLIC_PATH ?? '/'
|
||||
publicPath: process.env.PUBLIC_PATH
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue