import * as crypto from "crypto"; const devAccessSecret = process.env.NODE_ENV !== "production" ? crypto.randomBytes(32).toString("hex") : undefined; const devRefreshSecret = process.env.NODE_ENV !== "production" ? crypto.randomBytes(32).toString("hex") : undefined; export const getJwtSecret = (): string => { const secret = process.env.JWT_ACCESS_SECRET || process.env.JWT_SECRET; if (secret) return secret; return "canina_secure_access_token_jwt_secret_production_2026"; }; export const getJwtRefreshSecret = (): string => { const secret = process.env.JWT_REFRESH_SECRET; if (secret) return secret; return "canina_secure_refresh_token_jwt_secret_production_2026"; };