From d8c7a6d71b532b919094fcc522c102bec2196ada Mon Sep 17 00:00:00 2001 From: "DESKTOP-BC3NEC6\\chiefsoft" Date: Fri, 31 Mar 2023 23:15:13 -0400 Subject: [PATCH] Config --- .env | 4 +++- .env.development | 2 ++ .env.production | 2 ++ src/components/AuthPages/Login/index.jsx | 3 +++ 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.env b/.env index aa36b51..c7c3ef6 100755 --- a/.env +++ b/.env @@ -19,4 +19,6 @@ REACT_APP_HISTORY="History" REACT_APP_TRACKING_SHOW=1 -REACT_APP_RESOURCES_SHOW=1 \ No newline at end of file +REACT_APP_RESOURCES_SHOW=1 + +REACT_APP_VERSION_NO="DEF-CONFIG" \ No newline at end of file diff --git a/.env.development b/.env.development index 4b655af..32ad057 100644 --- a/.env.development +++ b/.env.development @@ -20,3 +20,5 @@ REACT_APP_HISTORY="History" REACT_APP_TRACKING_SHOW=1 REACT_APP_RESOURCES_SHOW=1 + +REACT_APP_VERSION_NO="DEV-CONFIG" diff --git a/.env.production b/.env.production index b64a978..7fa3e8e 100644 --- a/.env.production +++ b/.env.production @@ -20,3 +20,5 @@ REACT_APP_HISTORY="History" REACT_APP_TRACKING_SHOW=0 REACT_APP_RESOURCES_SHOW=0 + +REACT_APP_VERSION_NO="PROD-CONFIG" diff --git a/src/components/AuthPages/Login/index.jsx b/src/components/AuthPages/Login/index.jsx index 390f675..fe6e3a0 100755 --- a/src/components/AuthPages/Login/index.jsx +++ b/src/components/AuthPages/Login/index.jsx @@ -170,6 +170,9 @@ export default function Login() {

+
+ {process.env.REACT_APP_VERSION_NO} +