diff --git a/webapp/next.config.js b/webapp/next.config.js index f2079236..3e195299 100644 --- a/webapp/next.config.js +++ b/webapp/next.config.js @@ -24,7 +24,7 @@ module.exports = withPayload( domains: ["localhost"], }, env: { - CURRENT_PACKAGE_VERSION: version, + NEXT_PUBLIC_CURRENT_PACKAGE_VERSION: version, }, }), { diff --git a/webapp/src/pages/dashboard/account/index.tsx b/webapp/src/pages/dashboard/account/index.tsx index f9d288e5..a02230ee 100644 --- a/webapp/src/pages/dashboard/account/index.tsx +++ b/webapp/src/pages/dashboard/account/index.tsx @@ -237,7 +237,8 @@ export default function Account() { ))} - Version appli beta test V{process.env.CURRENT_PACKAGE_VERSION} + Version appli beta test V + {process.env.NEXT_PUBLIC_CURRENT_PACKAGE_VERSION} );