diff --git a/.env.production b/.env.production index 50765b3..ce0a55a 100644 --- a/.env.production +++ b/.env.production @@ -1,3 +1,4 @@ +NEXT_PUBLIC_APP_VERSION=2.0.0 NEXT_PUBLIC_TOAST_AUTO_CLOSE_DURATION=2500 NEXT_PUBLIC_FIREBASE_API_KEY=AIzaSyCTjdsk2jE34IfnvSKP1JMTIf_Abd7tbt0 NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=opplens-270d1.firebaseapp.com diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 4288c66..6db92da 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -24,6 +24,8 @@ export const metadata: Metadata = { }; export default function RootLayout({ children }: PropsWithChildren) { + const appVersion = process.env.NEXT_PUBLIC_APP_VERSION; + console.log('App Version', appVersion); return (