From 274b48007d89dea617fb6a6844599838fdb95b09 Mon Sep 17 00:00:00 2001 From: AmirReza Jamali Date: Tue, 9 Sep 2025 16:57:28 +0330 Subject: [PATCH] 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. --- .env.production | 2 ++ .gitignore | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .env.production diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..6cd0885 --- /dev/null +++ b/.env.production @@ -0,0 +1,2 @@ +NEXT_PUBLIC_API_URL="https://www.admin.opplens.com/admin/v1/" +NEXT_PUBLIC_TOAST_AUTO_CLOSE_DURATION=2500 diff --git a/.gitignore b/.gitignore index 8a7042a..da90c74 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ .env.test.local .env + # dependencies /node_modules /.pnp @@ -39,7 +40,7 @@ yarn-error.log* # env files (can opt-in for committing if needed) .env* - +!.env.production # vercel .vercel