🔧 chore: update env configuration

This commit is contained in:
2026-05-29 14:14:10 +07:00
parent e92d996621
commit cfb9b61c8a
2 changed files with 21 additions and 13 deletions

View File

@ -2,15 +2,7 @@ import fs from "fs";
import path from "path";
// These keys will not be cleared in the .env.example file
const PRESERVED_KEYS = [
"APP_NAME",
"APP_ENV",
"PORT",
"API_KEY",
"ALLOWED_ORIGINS",
"REDIS_HOST",
"REDIS_PORT",
];
const PRESERVED_KEYS = ["APP_NAME", "APP_ENV", "PORT", "ALLOWED_ORIGINS", "REDIS_HOST", "REDIS_PORT"];
/**
* Script to create or update the .env.example file based on the .env file.