diff --git a/.env b/.env index b8e9d6b..4daae03 100644 --- a/.env +++ b/.env @@ -3,6 +3,7 @@ NODE_ENV="development" NEXT_PUBLIC_SERVER_URL=http://192.168.1.12:32768 NEXT_PUBLIC_PUBLIC_URL=http://192.168.1.12:32768 NEXT_PUBLIC_API_URL=http://192.168.1.12:32768/api +NEXT_PUBLIC_VERSION=0.2.7 # SECURE_LOCAL_STORAGE_HASH_KEY=f1da2b2c7a4c446934267fea631102ec389b5b99 # NEXT_PUBLIC_API_URL_IMAGE=https://192.168.88.12:49154/Files/ReportImages diff --git a/.env.production b/.env.production index 83d856a..0d8305c 100644 --- a/.env.production +++ b/.env.production @@ -1,4 +1,5 @@ NODE_ENV="production" NEXT_PUBLIC_SERVER_URL=https://api.brizco.io NEXT_PUBLIC_PUBLIC_URL=https://api.brizco.io -NEXT_PUBLIC_API_URL=https://api.brizco.io/api \ No newline at end of file +NEXT_PUBLIC_API_URL=https://api.brizco.io/api +NEXT_PUBLIC_VERSION=0.2.7 \ No newline at end of file diff --git a/components/landingComponents/Footer/page.jsx b/components/landingComponents/Footer/page.jsx index 2eee3b3..f5bdd21 100644 --- a/components/landingComponents/Footer/page.jsx +++ b/components/landingComponents/Footer/page.jsx @@ -1,4 +1,4 @@ -import React from "react"; +import React, { version } from "react"; import logo2 from "../../../src/assets/logo2.png"; import Image from "next/image"; import Link from "next/link"; @@ -14,6 +14,7 @@ const Footer = () => {
© 2024 briz. All rights reserved. | Designed by ♡
Tehran - Iran
+ {process.env.NEXT_PUBLIC_VERSION}