diff --git a/frontend/.env.dist b/frontend/.env.dist index c8323c316..48b61c732 100644 --- a/frontend/.env.dist +++ b/frontend/.env.dist @@ -1,4 +1,5 @@ LOGIN_API_URL=http://localhost/login_api/ COMMUNITY_API_STATE_BALANCE_URL=http://localhost/state-balances/ COMMUNITY_API_TRANSACTION_CREATION_URL=http://localhost/transaction-creations/ -VUE_PATH=/vue \ No newline at end of file +VUE_PATH=/vue +APP_VERSION=0 \ No newline at end of file diff --git a/frontend/src/config/index.js b/frontend/src/config/index.js index 334086c38..f54f0a518 100644 --- a/frontend/src/config/index.js +++ b/frontend/src/config/index.js @@ -7,6 +7,7 @@ const environment = { NODE_ENV: process.env.NODE_ENV, DEBUG: process.env.NODE_ENV !== 'production' || false, PRODUCTION: process.env.NODE_ENV === 'production' || false, + APP_VERSION: process.env.APP_VERSION || require('../../package.json').version, } const server = { diff --git a/frontend/src/views/Layout/ContentFooter.vue b/frontend/src/views/Layout/ContentFooter.vue index bdc813b26..4f4690a0d 100755 --- a/frontend/src/views/Layout/ContentFooter.vue +++ b/frontend/src/views/Layout/ContentFooter.vue @@ -5,6 +5,10 @@