build: Allow .env.production to be committed
Modify the .gitignore file to explicitly un-ignore the `.env.production` file. This allows the production environment configuration to be version-controlled, ensuring it is available for build and deployment processes.
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
NEXT_PUBLIC_API_URL="https://www.admin.opplens.com/admin/v1/"
|
||||||
|
NEXT_PUBLIC_TOAST_AUTO_CLOSE_DURATION=2500
|
||||||
+2
-1
@@ -7,6 +7,7 @@
|
|||||||
.env.test.local
|
.env.test.local
|
||||||
.env
|
.env
|
||||||
|
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
/node_modules
|
/node_modules
|
||||||
/.pnp
|
/.pnp
|
||||||
@@ -39,7 +40,7 @@ yarn-error.log*
|
|||||||
|
|
||||||
# env files (can opt-in for committing if needed)
|
# env files (can opt-in for committing if needed)
|
||||||
.env*
|
.env*
|
||||||
|
!.env.production
|
||||||
# vercel
|
# vercel
|
||||||
.vercel
|
.vercel
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user